[pypy-dev] PyPy3: Invalid syntax in stdlib

David Naylor naylor.b.david at gmail.com
Sat Aug 10 14:30:09 CEST 2013


Hi,

I would like to report some possible errors I've noticed

I translated pypy3-2.1.0-beta1 and when doing a:
# find . -type d | xargs pypy-c -m compileall -fl
for lib_pypy I get the following errors: 

***   File 
"/tmp/build/home/DragonSA/pypy3/work/lib/pypy3-2.1/lib_pypy/ctypes_config_cache/rebuild.py", 
line 50
    except Exception, e:
                   ^
SyntaxError: invalid syntax

***   File 
"/tmp/build/home/DragonSA/pypy3/work/lib/pypy3-2.1/lib_pypy/pyrepl/keymaps.py", 
line 65
SyntaxError: invalid comparison

***   File 
"/tmp/build/home/DragonSA/pypy3/work/lib/pypy3-2.1/lib_pypy/pyrepl/pygame_console.py", 
line 133
    def refresh(self, screen, (cx, cy)):
                             ^
SyntaxError: invalid syntax

***   File 
"/tmp/build/home/DragonSA/pypy3/work/lib/pypy3-2.1/lib_pypy/pyrepl/pygame_keymap.py", 
line 93
    raise KeySpecError, \
                     ^
SyntaxError: invalid syntax

I also get errors from the stdlib however those are all in tests (so not sure 
if that was intentional).  

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130810/27cb09bf/attachment.pgp>


More information about the pypy-dev mailing list