Hi Joe, I can investigate this, but please give us a way to reproduce the problem. Which program do I need to run, what are the inputs, which command line options.
Cheers, Carl Friedrich On September 29, 2022 6:04:16 AM GMT+02:00, Joe Cool <snoop...@gmail.com> wrote: >Hello pypy experts! I'm the author of Pythonizer, an automatic perl to >python converter. In a recent conversion, I am getting a strange exception >from the generated code: > >Traceback (most recent call last): > File "/export/home/pndt/bin/compass.py", line 1744, in <module> > do_hour() > File "/export/home/pndt/bin/compass.py", line 1578, in do_hour > makebytes() > File "/export/home/pndt/bin/compass.py", line 4134, in makebytes >AttributeError: 'str' object has no attribute 'get' > >What I'd like to get advice on is "line 4134", as compass.py only has 1759 >lines, so I can't tell where the error actually is. If I change the >invocation from "pypy" to "python3", the error goes away. The script runs >very slowly with python3 so I'd really like to use pypy. Any suggestions? >--joe
_______________________________________________ pypy-dev mailing list -- pypy-dev@python.org To unsubscribe send an email to pypy-dev-le...@python.org https://mail.python.org/mailman3/lists/pypy-dev.python.org/ Member address: arch...@mail-archive.com