On 7/24/07, Lisandro Dalcin <dalcinl at gmail.com> wrote: > I'm porting some of my code to py3k, and I started from the C size. > After this, all extensions compiled fine, but after a 'setup.py > install', I got the following: > > File "/usr/local/python/3.0/lib/python3.0/distutils/util.py", line > 498, in byte_compile > compile(file, cfile, dfile) > File "/usr/local/python/3.0/lib/python3.0/py_compile.py", line 127, in compile > py_exc = PyCompileError(err.__class__,err.args,dfile or file) > File "/usr/local/python/3.0/lib/python3.0/py_compile.py", line 48, in __init__ > tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value)) > File "/usr/local/python/3.0/lib/python3.0/traceback.py", line 196, > in format_exception_only > lines.append("%s: %s\n" % (stype, str(msg))) > UnboundLocalError: local variable 'msg' referenced before assignment > > > At this point, I had not updated my python code, so it surelly had > some py3k-invalid things. Looking at 'traceback.py', it seems there is > something wrong in 'format_exception_only', so this error. Try again -- I think this bug was introduced a few days ago. Kurt Kaiser promised to roll it bck, but it hasn't happened yet it seems. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4