Message90048
Using the -j switch of the 2to3 tool shiped with Python 3.1 final i'm
getting:
Traceback (most recent call last):
File "/home/alejo/apps/local/bin/2to3", line 6, in <module>
sys.exit(main("lib2to3.fixes"))
File "/home/alejo/apps/local/lib/python3.1/lib2to3/main.py", line 132,
in main
options.processes)
File "/home/alejo/apps/local/lib/python3.1/lib2to3/refactor.py", line
553, in refactor
for i in xrange(num_processes)]
NameError: global name 'xrange' is not defined
Attached patch seems to work fine. |
|
Date |
User |
Action |
Args |
2009-07-03 12:33:29 | alejolp | set | recipients:
+ alejolp, djc |
2009-07-03 12:33:29 | alejolp | set | messageid: <1246624409.35.0.327265047408.issue6406@psf.upfronthosting.co.za> |
2009-07-03 12:33:28 | alejolp | link | issue6406 messages |
2009-07-03 12:33:27 | alejolp | create | |
|