[Python-3000] Move to a "py3k" branch *DONE*
Brett Cannon
brett at python.org
Fri Aug 10 09:45:33 CEST 2007
On 8/9/07, Neal Norwitz <nnorwitz at gmail.com> wrote:
[SNIP]
> See http://docs.python.org/dev/3.0/results/make-install.out for this failure:
>
> Compiling /tmp/python-test-3.0/local/lib/python3.0/test/test_pep263.py ...
> Traceback (most recent call last):
> File "/tmp/python-test-3.0/local/lib/python3.0/compileall.py", line
> 162, in <module>
> exit_status = int(not main())
> File "/tmp/python-test-3.0/local/lib/python3.0/compileall.py", line
> 152, in main
> force, rx, quiet):
> File "/tmp/python-test-3.0/local/lib/python3.0/compileall.py", line
> 89, in compile_dir
> if not compile_dir(fullname, maxlevels - 1, dfile, force, rx, quiet):
> File "/tmp/python-test-3.0/local/lib/python3.0/compileall.py", line
> 65, in compile_dir
> ok = py_compile.compile(fullname, None, dfile, True)
> File "/tmp/python-test-3.0/local/lib/python3.0/py_compile.py", line
> 144, in compile
> py_exc = PyCompileError(err.__class__,err.args,dfile or file)
> File "/tmp/python-test-3.0/local/lib/python3.0/py_compile.py", line
> 49, in __init__
> tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
> File "/tmp/python-test-3.0/local/lib/python3.0/traceback.py", line
> 179, in format_exception_only
> filename = value.filename or "<string>"
> AttributeError: 'tuple' object has no attribute 'filename'
>
> I'm guessing this came from the change in exception args handling?
What change are you thinking of? 'args' was not changed, only the
removal of 'message'.
-Brett
More information about the Python-3000
mailing list