Commit [779742] pep352  Maximize  Restore  History

Merged revisions 4450-4452,4455,4457,4459,4461,4463,4465-4466,4472,4474,4487,4490,4493-4494,4496,4498-4501,4504,4511-4512,4521,4523-4524,4526,4529,4531-4631 via svnmerge from

https://jython.svn.sourceforge.net/svnroot/jython/trunk/jython

........
r4534 | pjenvey | 2008-06-04 18:37:03 -0700 (Wed, 04 Jun 2008) | 3 lines

from
http://svn.python.org/projects/python/branches/release25-maint/Lib/test/test_long.py@52138
........
r4535 | pjenvey | 2008-06-04 18:58:17 -0700 (Wed, 04 Jun 2008) | 6 lines

o fix float __cmp__ to never trigger OverflowErrors
o fix float to long raising a java exception on overflow instead of
OverflowError
o bring in CPython 2.5's test_long now that we pass, minus the case of hex
strings. since we're now failing 2.3's
........
r4536 | pjenvey | 2008-06-04 21:43:32 -0700 (Wed, 04 Jun 2008) | 1 line

long(float('NaN')) -> 0
........
r4537 | pjenvey | 2008-06-05 11:14:18 -0700 (Thu, 05 Jun 2008) | 1 line

utilize Py.NoKeywords
........
r4538 | pjenvey | 2008-06-05 16:52:58 -0700 (Thu, 05 Jun 2008) | 1 line

we need the actual key, not its str, in the KeyError
........
r4539 | pjenvey | 2008-06-05 17:00:48 -0700 (Thu, 05 Jun 2008) | 1 line

fix missing comma which broke test___all__
........
r4541 | pjenvey | 2008-06-05 17:11:05 -0700 (Thu, 05 Jun 2008) | 1 line

match CPython's error message
........
r4542 | pjenvey | 2008-06-05 18:09:00 -0700 (Thu, 05 Jun 2008) | 10 lines

o add support for keyword args to dict and stringmap update
fixes #1814904 and 1814929
o add support for 2.5's dict __missing__
o disallow iteration when the size of the dict or stringmap has changed
o fix dict calling the __setitem__ instead of dict___setitem__ in some cases
o test_call (we no longer pass 2.3's) from:
http://svn.python.org/projects/python/branches/release25-maint/Lib/test/test_call.py@35376
and test_dict from:
http://svn.python.org/projects/python/branches/release25-maint/Lib/test/test_dict.py@54840
........
r4544 | pjenvey | 2008-06-05 21:05:30 -0700 (Thu, 05 Jun 2008) | 3 lines

raise a TypeError on invalid args to float
fixes #1037
patch from lsoto
........
r4546 | fwierzbicki | 2008-06-06 10:36:22 -0700 (Fri, 06 Jun 2008) | 2 lines

Fix and test for issue 1048 (List Comprehension in finally throws NPE).
........
r4550 | fwierzbicki | 2008-06-06 17:43:26 -0700 (Fri, 06 Jun 2008) | 3 lines

Looks like the site.py from CPython works just fine. Also enabled
help() though the __doc__s are definitely lacking :).
........
r4552 | pjenvey | 2008-06-07 12:56:15 -0700 (Sat, 07 Jun 2008) | 1 line

whitespace
........
r4553 | pjenvey | 2008-06-07 14:15:31 -0700 (Sat, 07 Jun 2008) | 7 lines

o have ant generate the version information into a prop file, which is loaded
by a Version class. includes the svn revision when it can get it (unix
platforms)
o support sys.subversion, including the branch info (not always the revision)
o utilize the build info in sys.version and in a CPythonish banner. hardcode
the copyright banner, now includes "help"
........
r4554 | pjenvey | 2008-06-07 15:23:00 -0700 (Sat, 07 Jun 2008) | 4 lines

match class AttributeError messages to CPython
fixes #1039
thanks lsoto
........
r4555 | pjenvey | 2008-06-07 15:38:12 -0700 (Sat, 07 Jun 2008) | 4 lines

fix derived __getitem__ swallowing custom LookupErrors
fixes #1038
patch by lsoto
........
r4556 | pjenvey | 2008-06-07 15:51:14 -0700 (Sat, 07 Jun 2008) | 3 lines

latest template updates. re-enable the random derived template as it hasn't
been updated in a while
........
r4557 | pjenvey | 2008-06-07 15:58:19 -0700 (Sat, 07 Jun 2008) | 1 line

not everyone's ant is supporting propertyfile out of the box, use echo instead
........
r4558 | pjenvey | 2008-06-07 16:04:34 -0700 (Sat, 07 Jun 2008) | 1 line

woops, ensure the dir first. thanks Ariane
........
r4559 | pjenvey | 2008-06-07 17:58:39 -0700 (Sat, 07 Jun 2008) | 2 lines

fix thread.exit from other threads exiting the Jython process
........
r4560 | pjenvey | 2008-06-07 18:01:51 -0700 (Sat, 07 Jun 2008) | 1 line

update the ticket referencing why this is disabled
........
r4561 | pjenvey | 2008-06-07 18:20:26 -0700 (Sat, 07 Jun 2008) | 2 lines

site.py from:
http://svn.python.org/projects/python/branches/release23-maint/Lib/site.py@35472
........
r4562 | pjenvey | 2008-06-07 18:21:23 -0700 (Sat, 07 Jun 2008) | 1 line

special case jython for a Lib/site-packages sitedir
........
r4563 | pjenvey | 2008-06-07 19:13:16 -0700 (Sat, 07 Jun 2008) | 1 line

support -? for help
........
r4564 | pjenvey | 2008-06-07 20:00:45 -0700 (Sat, 07 Jun 2008) | 2 lines

have BaseSet implement Set. not sure why this was commented out
fixes #1009477
........
r4566 | pjenvey | 2008-06-07 21:25:33 -0700 (Sat, 07 Jun 2008) | 3 lines

give method and builtin method custom hashCodes
fixes #515497
........
r4567 | pjenvey | 2008-06-07 21:36:23 -0700 (Sat, 07 Jun 2008) | 1 line

add a test for #654142 to close it out
........
r4568 | pjenvey | 2008-06-08 13:50:30 -0700 (Sun, 08 Jun 2008) | 2 lines

o more resilient parsing of headURL
o fix sys.version to not be preceeded with 'Jython'
........
r4569 | pjenvey | 2008-06-08 14:03:57 -0700 (Sun, 08 Jun 2008) | 2 lines

o cleanup, coding standards
o frame doesn't have a custom repr in CPython so removed ours
........
r4570 | pjenvey | 2008-06-08 14:34:14 -0700 (Sun, 08 Jun 2008) | 2 lines

o don't break the build if svnversion isn't found on unix
o workaround the lack of osfamily in exec in ant 1.6
........
r4571 | pjenvey | 2008-06-08 14:44:41 -0700 (Sun, 08 Jun 2008) | 1 line

only svnversion on unix
........
r4572 | pjenvey | 2008-06-08 15:55:28 -0700 (Sun, 08 Jun 2008) | 4 lines

fix types to handle __doc__ descriptors
fixes test_descr.docdescriptor, #1605006 and #1639663
thanks leouserz
........
r4573 | pjenvey | 2008-06-08 17:03:23 -0700 (Sun, 08 Jun 2008) | 3 lines

make 2.5's test_tuple pass: don't apply the repeat optimization to
tuple subclasses and strengthen tuple's hashCode
........
r4574 | pjenvey | 2008-06-08 17:24:08 -0700 (Sun, 08 Jun 2008) | 1 line

isCallable instead of __builtin__.callable, whitespace/coding standards
........
r4575 | pjenvey | 2008-06-08 17:24:41 -0700 (Sun, 08 Jun 2008) | 1 line

fix instancemethod() arg 3 not being optional
........
r4576 | pjenvey | 2008-06-08 18:51:15 -0700 (Sun, 08 Jun 2008) | 1 line

woops, restore to \!isCallable which I broke in r4574
........
r4580 | nriley | 2008-06-08 19:39:54 -0700 (Sun, 08 Jun 2008) | 1 line

fix regrtest ant target dependencies so it works from clean
........
r4583 | pjenvey | 2008-06-08 23:49:36 -0700 (Sun, 08 Jun 2008) | 5 lines

o add support for utf8 and utf16 decoders decoding incomplete input. from
CPython r37292 (the rest being in the 2.4 stdlib)
o fix _codecs.utf_16_decode supporting an optional byteorder arg when only
utf_16_ex_decode should
........
r4590 | pjenvey | 2008-06-10 14:23:43 -0700 (Tue, 10 Jun 2008) | 2 lines

match messages to CPython 2.5
........
r4591 | pjenvey | 2008-06-10 14:26:18 -0700 (Tue, 10 Jun 2008) | 3 lines

fix ArgPargser.getInt throwing a ClassCastException instead of OverflowError,
and support float arguments (albeit deprecated)
........
r4592 | pjenvey | 2008-06-10 14:47:26 -0700 (Tue, 10 Jun 2008) | 3 lines

change xrange's implementation to match CPython's and convert it to exposed
annotations
........
r4593 | pjenvey | 2008-06-10 15:40:39 -0700 (Tue, 10 Jun 2008) | 1 line

push BASE64_MAXBIN out to roughly CPython's value, to fix 2.4's test_base64
........
r4594 | pjenvey | 2008-06-11 11:16:34 -0700 (Wed, 11 Jun 2008) | 2 lines

from:
http://svn.python.org/projects/python/branches/release25-maint/Lib/test/test_dumbdbm.py@38966
........
r4595 | pjenvey | 2008-06-11 11:19:21 -0700 (Wed, 11 Jun 2008) | 1 line

explicitly close file handles to fix test_line_endings
........
r4597 | pjenvey | 2008-06-11 14:07:37 -0700 (Wed, 11 Jun 2008) | 1 line

expose __iter__
........
r4598 | pjenvey | 2008-06-11 14:07:54 -0700 (Wed, 11 Jun 2008) | 1 line

update docs per new BASE64_MAXBIN
........
r4601 | pjenvey | 2008-06-11 15:56:31 -0700 (Wed, 11 Jun 2008) | 2 lines

from:
http://svn.python.org/projects/python/branches/release25-maint/Lib/gzip.py@51032
........
r4602 | pjenvey | 2008-06-11 16:05:01 -0700 (Wed, 11 Jun 2008) | 1 line

workaround Java's lack of Z_SYNC_FLUSH
........
r4609 | pjenvey | 2008-06-12 18:34:13 -0700 (Thu, 12 Jun 2008) | 5 lines

the compiler shouldn't inherit the compiler flags from the current
frame on import as this causes futures to leak into different modules.
this was done for #1691096 which is actaully an invalid bug
fixes #1886758
........
r4610 | pjenvey | 2008-06-12 18:38:54 -0700 (Thu, 12 Jun 2008) | 1 line

re-enable test_email after r4609
........
r4611 | pjenvey | 2008-06-12 21:26:20 -0700 (Thu, 12 Jun 2008) | 1 line

a FIXME
........
r4612 | pjenvey | 2008-06-12 21:47:04 -0700 (Thu, 12 Jun 2008) | 1 line

fix test_descr.test_dir dir(None) == dir(Ellipsis)
........
r4614 | pjenvey | 2008-06-13 12:20:35 -0700 (Fri, 13 Jun 2008) | 2 lines

from:
http://svn.python.org/projects/python/branches/release25-maint/Lib/test/test_time.py@50696
........
r4615 | pjenvey | 2008-06-13 12:43:46 -0700 (Fri, 13 Jun 2008) | 5 lines

pass 2.5's test_time:
o support passing None to localtime, gmtime and ctime
o support 0 for month day and julian day, and 2 leap seconds
o disallow timestamps that overflow long. always validate the srftime tuple
........
r4616 | pjenvey | 2008-06-13 15:30:01 -0700 (Fri, 13 Jun 2008) | 2 lines

move Jython's custom test_descr tests into test_descr_jy
........
r4617 | pjenvey | 2008-06-13 17:56:25 -0700 (Fri, 13 Jun 2008) | 5 lines

fixes for test_descr:
o disallow empty separators to str.split
o don't expose complex.__cmp__
o be careful of kwargs in our file __new__ hack
........
r4618 | pjenvey | 2008-06-13 19:00:53 -0700 (Fri, 13 Jun 2008) | 2 lines

handle super subclasses in its __get__. fixes test_descr.supers
........
r4619 | pjenvey | 2008-06-13 20:37:27 -0700 (Fri, 13 Jun 2008) | 1 line

add toString, cleanup/coding standards
........
r4620 | pjenvey | 2008-06-13 20:51:58 -0700 (Fri, 13 Jun 2008) | 2 lines

allow super to be used with a proxy for obj
fixes test_descr.proxysuper
........
r4621 | pjenvey | 2008-06-13 22:37:36 -0700 (Fri, 13 Jun 2008) | 3 lines

fix PyClassMethodDescr.__get__ called with one arg, or None as one of
the args. convert to exposed annotations
........
r4622 | pjenvey | 2008-06-14 12:48:57 -0700 (Sat, 14 Jun 2008) | 4 lines

lame hack to make derived class generation handle package and import statements
for classes outside of org.python.core. a hacky solution because the java
generation code is really difficult about letting me do this correctly
........
r4623 | pjenvey | 2008-06-14 12:59:37 -0700 (Sat, 14 Jun 2008) | 2 lines

o __delslice__ step is optional
o fix ProxyType to use the canonical version of __setslice__
........
r4624 | pjenvey | 2008-06-14 13:25:11 -0700 (Sat, 14 Jun 2008) | 4 lines

fix test_descr.overloading: dervied classes weren't supporting
__set/delslice__. also fix __getslice__ eating LookupErrors while I'm here
(like __getitem__ used to)
........
r4625 | pjenvey | 2008-06-14 14:19:39 -0700 (Sat, 14 Jun 2008) | 2 lines

we pass the stock test_pow now
........
r4626 | pjenvey | 2008-06-14 15:27:30 -0700 (Sat, 14 Jun 2008) | 4 lines

fix ternary pow to always attempt __pow__ even when coercion fails (__pow__ on
'new style numbers' doesn't require that types match). fallback to binary pow
when modulo is None
........
r4627 | pjenvey | 2008-06-14 15:30:17 -0700 (Sat, 14 Jun 2008) | 3 lines

fix deriveds not supporting the modulo arg to __pow__. with r4626, fixes
test_descr.binopoverride
........
r4629 | pjenvey | 2008-06-14 16:52:25 -0700 (Sat, 14 Jun 2008) | 5 lines

o make property use fget's docstring if one wasn't specified. fixes 2.5
test_descr.properties
o cleanup. We don't need ExposedSets here because TypeErrors are thrown for us
without them. coding standards
........
r4630 | pjenvey | 2008-06-14 17:38:46 -0700 (Sat, 14 Jun 2008) | 1 line

more __get__ arg2 is optional
........
r4631 | pjenvey | 2008-06-14 17:42:42 -0700 (Sat, 14 Jun 2008) | 3 lines

o fix PyModule's lack of getDict breaking 2.5 test_descr.setdict
o match lack of __setitem__ exception to CPython
........

pjenvey@79b11f02-f210-0410-99aa-fb189b3d1ac4 pjenvey@79b11f02-f210-0410-99aa-fb189b3d1ac4 2008-06-15

1 2 3 .. 5 > >> (Page 1 of 5)
changed CPythonLib.includes
changed CoreExposed.includes
changed Lib/site.py
changed Lib/socket.py
changed Lib/test/regrtest.py
changed Lib/test/test_class_jy.py
changed Lib/test/test_descr.py
changed Lib/test/test_descr_jy.py
changed Lib/test/test_dict_jy.py
changed Lib/test/test_float_jy.py
changed Lib/test/test_func_jy.py
changed Lib/test/test_jy_compile.py
changed Lib/test/test_socket_ssl.py
changed Lib/test/test_stringmap.py
changed Lib/test/test_types.py
changed NEWS
changed build.xml
changed src/org/python/compiler/CodeCompiler.java
changed src/org/python/compiler/Module.java
changed src/org/python/compiler/ScopesCompiler.java
changed src/org/python/core/ArgParser.java
changed src/org/python/core/BaseSet.java
changed src/org/python/core/FunctionThread.java
changed src/org/python/core/PyArray.java
changed src/org/python/core/PyArrayDerived.java
CPythonLib.includes Diff Switch to side-by-side view
Loading...
CoreExposed.includes Diff Switch to side-by-side view
Loading...
Lib/site.py Diff Switch to side-by-side view
Loading...
Lib/socket.py Diff Switch to side-by-side view
Loading...
Lib/test/regrtest.py Diff Switch to side-by-side view
Loading...
Lib/test/test_class_jy.py Diff Switch to side-by-side view
Loading...
Lib/test/test_descr.py Diff Switch to side-by-side view
Loading...
Lib/test/test_descr_jy.py Diff Switch to side-by-side view
Loading...
Lib/test/test_dict_jy.py Diff Switch to side-by-side view
Loading...
Lib/test/test_float_jy.py Diff Switch to side-by-side view
Loading...
Lib/test/test_func_jy.py Diff Switch to side-by-side view
Loading...
Lib/test/test_jy_compile.py Diff Switch to side-by-side view
Loading...
Lib/test/test_socket_ssl.py Diff Switch to side-by-side view
Loading...
Lib/test/test_stringmap.py Diff Switch to side-by-side view
Loading...
Lib/test/test_types.py Diff Switch to side-by-side view
Loading...
NEWS Diff Switch to side-by-side view
Loading...
build.xml Diff Switch to side-by-side view
Loading...
src/org/python/compiler/CodeCompiler.java Diff Switch to side-by-side view
Loading...
src/org/python/compiler/Module.java Diff Switch to side-by-side view
Loading...
src/org/python/compiler/ScopesCompiler.java Diff Switch to side-by-side view
Loading...
src/org/python/core/ArgParser.java Diff Switch to side-by-side view
Loading...
src/org/python/core/BaseSet.java Diff Switch to side-by-side view
Loading...
src/org/python/core/FunctionThread.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyArray.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyArrayDerived.java Diff Switch to side-by-side view
Loading...
1 2 3 .. 5 > >> (Page 1 of 5)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks