Message2564
Looks like a winner to me. Committed in r3106-3108. I modified the patch to remove the toInt method, and to make the test run under CPython even with the Jython modifications.
I am still getting an AttributeError when it tries to run the doctest:
Traceback (innermost last):
File "dist/Lib/test/test_itertools.py", line 650, in ?
File "dist/Lib/test/test_itertools.py", line 647, in test_main
File "/Users/groves/dev/jython/2.3/dist/Lib/test/test_support.py", line 288, in run_doctest
File "/Users/groves/dev/jython/2.3/dist/Lib/doctest.py", line 1148, in testmod
File "/Users/groves/dev/jython/2.3/dist/Lib/doctest.py", line 906, in rundict
File "/Users/groves/dev/jython/2.3/dist/Lib/doctest.py", line 589, in _from_module
AttributeError: class 'org.python.modules.operator' has no attribute '__module__'
Do you get that?
I still committed it since I think that's probably a general doctest failure. Now that it's in, would you mind sending in a Python Contributor form from http://www.python.org/psf/contrib/contrib-form/? |
|
| Date |
User |
Action |
Args |
| 2008-02-20 17:18:36 | admin | link | issue1608656 messages |
| 2008-02-20 17:18:36 | admin | create | |
|