Commit [abe82e] pep352  Maximize  Restore  History

Merged revisions 4635-4639,4641,4649-4650,4663-4664,4666,4668-4671,4675,4681,4685,4687-4691,4696-4697,4699-4700,4703,4707,4713,4717,4719 via svnmerge from

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

........
r4635 | pjenvey | 2008-06-14 23:11:06 -0400 (Sat, 14 Jun 2008) | 1 line

match message to CPython's
........
r4636 | pjenvey | 2008-06-14 23:12:12 -0400 (Sat, 14 Jun 2008) | 3 lines

raise a TypeError when __init__ returns anything other than None. Also prevents
__init__ from being a generator. fixes 2.5 test_descr.test_init
........
r4637 | pjenvey | 2008-06-14 23:13:49 -0400 (Sat, 14 Jun 2008) | 2 lines

update to:
http://svn.python.org/projects/python/branches/release25-maint/Lib/test/test_descr.py@60060
........
r4638 | pjenvey | 2008-06-14 23:17:48 -0400 (Sat, 14 Jun 2008) | 1 line

re-integrate the ability to run one test from the command line
........
r4639 | pjenvey | 2008-06-15 00:35:29 -0400 (Sun, 15 Jun 2008) | 4 lines

enable 2.5's test_descr in the regrtest with various tests disabled. give
regrtest more memory for now until slices are fixed (they're currently broken,
causing test_descr.slottrash to use a lot of memory)
........
r4641 | pjenvey | 2008-06-15 16:29:43 -0400 (Sun, 15 Jun 2008) | 2 lines

context manager-ize file
........
r4649 | fwierzbicki | 2008-06-16 09:17:01 -0400 (Mon, 16 Jun 2008) | 3 lines

Renamed test classes to clearly label them as testers. Eventually
these should be moved out of the core src.
........
r4650 | fwierzbicki | 2008-06-16 09:20:35 -0400 (Mon, 16 Jun 2008) | 2 lines

Oops some experimental code leaked into my last commit. Reverting.
........
r4663 | zyasoft | 2008-06-17 15:24:30 -0400 (Tue, 17 Jun 2008) | 1 line

Added 2.5 builtins all, any
........
r4664 | zyasoft | 2008-06-17 21:52:22 -0400 (Tue, 17 Jun 2008) | 1 line

min, max now take the keyword arg key, a 2.5 feature
........
r4666 | pjenvey | 2008-06-18 16:01:28 -0400 (Wed, 18 Jun 2008) | 3 lines

fix slotted objects always having a __dict__ which was broken in r4303. match
the CPython slot behavior in test_slots_jy. and fix the test_descr slots tests
........
r4668 | pjenvey | 2008-06-18 17:16:53 -0400 (Wed, 18 Jun 2008) | 2 lines

__findattr__ is unnecessary here
spotted by lsoto
........
r4669 | pjenvey | 2008-06-18 18:08:10 -0400 (Wed, 18 Jun 2008) | 2 lines

add local to the derived mappings and update it
noticed by lsoto
........
r4670 | pjenvey | 2008-06-18 19:21:51 -0400 (Wed, 18 Jun 2008) | 5 lines

o fix mro_internal to validate mro() results with solid_base
o rerarrange solid_base to search down __bases__ instead of __mro__ which may
not be defined yet
fixes #1056 and test_descr.altmro
........
r4671 | pjenvey | 2008-06-18 19:38:28 -0400 (Wed, 18 Jun 2008) | 1 line

make passable on CPython
........
r4675 | fwierzbicki | 2008-06-19 11:16:28 -0400 (Thu, 19 Jun 2008) | 3 lines

Added (C) at the request of a PhD. student using this and in
accordance with the PSF contributor agreement that I signed.
........
r4681 | pjenvey | 2008-06-19 20:02:52 -0400 (Thu, 19 Jun 2008) | 2 lines

apply -Qnew division to derived classes, not just builtins
........
r4685 | pjenvey | 2008-06-19 21:22:15 -0400 (Thu, 19 Jun 2008) | 1 line

forgot to expose __ior__
........
r4687 | nriley | 2008-06-19 22:54:06 -0400 (Thu, 19 Jun 2008) | 1 line

Don't install profile.properties for now; it breaks --profile.
........
r4688 | nriley | 2008-06-19 22:56:16 -0400 (Thu, 19 Jun 2008) | 1 line

Run Jython launcher test from ant.
........
r4689 | nriley | 2008-06-19 23:00:18 -0400 (Thu, 19 Jun 2008) | 1 line

Use correct variable name for classpath delimiter when profiling; test this behavior (related JRuby bug filed as JRUBY-2678).
........
r4690 | nriley | 2008-06-19 23:02:18 -0400 (Thu, 19 Jun 2008) | 1 line

Use the system class loader as a fallback if the current class loader is null. Supports additions to the classpath when Jython is loaded from the boot classpath (e.g., by the bin/jython launcher script.)
........
r4691 | pjenvey | 2008-06-20 01:20:10 -0400 (Fri, 20 Jun 2008) | 3 lines

update operator to 2.5 (minus the inplace operations). add attr/itemgetter and
nuke __is__ and __is_not__ which don't exist
........
r4696 | pjenvey | 2008-06-20 03:37:56 -0400 (Fri, 20 Jun 2008) | 5 lines

o refactor long __new__ to work like CPython's. eases the migration to allowing
__long__ to return PyIntegers
o don't support __tojava__ conversion here, PyObjects should just implement
__long__ anyway
........
r4697 | pjenvey | 2008-06-20 04:03:16 -0400 (Fri, 20 Jun 2008) | 1 line

update notimplemented failure info
........
r4699 | pjenvey | 2008-06-20 04:28:26 -0400 (Fri, 20 Jun 2008) | 2 lines

allow __long__ to return a PyInteger
........
r4700 | pjenvey | 2008-06-20 04:29:23 -0400 (Fri, 20 Jun 2008) | 1 line

allow deriveds __long__ to return a PyInteger
........
r4703 | pjenvey | 2008-06-20 13:08:28 -0400 (Fri, 20 Jun 2008) | 2 lines

only allow actual strings (not even their subclasses) to be interned
for 2.5's test_built.test_intern
........
r4707 | pjenvey | 2008-06-20 15:07:18 -0400 (Fri, 20 Jun 2008) | 1 line

allow old style __long__ to return a PyInteger
........
r4713 | pjenvey | 2008-06-22 17:15:16 -0400 (Sun, 22 Jun 2008) | 2 lines

throw a TypeError when __long__ isn't supported
fixes #1059
........
r4717 | fwierzbicki | 2008-06-23 13:56:08 -0400 (Mon, 23 Jun 2008) | 2 lines

fix longs returned from __int__ from old style classes.
........
r4719 | fwierzbicki | 2008-06-23 15:19:30 -0400 (Mon, 23 Jun 2008) | 3 lines

switched back to CPython style since we do have a basestring now. Fixes 2.4
test where unicode file name is used.
........

fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 fwierzbicki@79b11f02-f210-0410-99aa-fb189b3d1ac4 2008-06-23

1 2 3 > >> (Page 1 of 3)
changed CoreExposed.includes
changed Lib/fileinput.py
changed Lib/test/regrtest.py
changed Lib/test/test_descr.py
changed Lib/test/test_descr_jy.py
changed Lib/test/test_file.py
changed build.xml
changed grammar/PythonWalker.g
changed src/org/python/core/PyArray.java
changed src/org/python/core/PyArrayDerived.java
changed src/org/python/core/PyBaseExceptionDerived.java
changed src/org/python/core/PyBooleanDerived.java
changed src/org/python/core/PyClassMethodDerived.java
changed src/org/python/core/PyComplex.java
changed src/org/python/core/PyComplexDerived.java
changed src/org/python/core/PyDictionaryDerived.java
changed src/org/python/core/PyFile.java
changed src/org/python/core/PyFileDerived.java
changed src/org/python/core/PyFloat.java
changed src/org/python/core/PyFloatDerived.java
changed src/org/python/core/PyFrozenSetDerived.java
changed src/org/python/core/PyInstance.java
changed src/org/python/core/PyInteger.java
changed src/org/python/core/PyIntegerDerived.java
changed src/org/python/core/PyListDerived.java
CoreExposed.includes Diff Switch to side-by-side view
Loading...
Lib/fileinput.py Diff Switch to side-by-side view
Loading...
Lib/test/regrtest.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_file.py Diff Switch to side-by-side view
Loading...
build.xml Diff Switch to side-by-side view
Loading...
grammar/PythonWalker.g 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...
src/org/python/core/PyBaseExceptionDerived.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyBooleanDerived.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyClassMethodDerived.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyComplex.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyComplexDerived.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyDictionaryDerived.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyFile.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyFileDerived.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyFloat.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyFloatDerived.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyFrozenSetDerived.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyInstance.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyInteger.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyIntegerDerived.java Diff Switch to side-by-side view
Loading...
src/org/python/core/PyListDerived.java Diff Switch to side-by-side view
Loading...
1 2 3 > >> (Page 1 of 3)

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

Sign up for the SourceForge newsletter:





No, thanks