Antoine Pitrou <[email protected]> added the comment:
Uh, after translation I get a SystemError when trying to run the Mako bench
under the current py3k SVN:
$ PYTHONPATH=lib/mako/ /home/antoine/py3k/py3k/python ./performance/bm_mako.py
-n 25
Traceback (most recent call last):
File "./performance/bm_mako.py", line 26, in <module>
""")
File "/home/antoine/py3k/benchmarks/3/lib/mako/mako/template.py", line 183,
in __init__
(code, module) = _compile_text(self, text, filename)
File "/home/antoine/py3k/benchmarks/3/lib/mako/mako/template.py", line 463,
in _compile_text
strict_undefined=template.strict_undefined)
File "/home/antoine/py3k/benchmarks/3/lib/mako/mako/codegen.py", line 51, in
compile
node)
File "/home/antoine/py3k/benchmarks/3/lib/mako/mako/codegen.py", line 98, in
__init__
defs = self.write_toplevel()
File "/home/antoine/py3k/benchmarks/3/lib/mako/mako/codegen.py", line 196, in
write_toplevel
main_identifiers = module_identifiers.branch(self.node)
File "/home/antoine/py3k/benchmarks/3/lib/mako/mako/codegen.py", line 866, in
branch
return _Identifiers(node, self, **kwargs)
File "/home/antoine/py3k/benchmarks/3/lib/mako/mako/codegen.py", line 831, in
__init__
self.topleveldefs = util.SetLikeDict(**parent.topleveldefs)
SystemError: Python/getargs.c:1398: bad argument to internal function
----------
assignee: collinwinter ->
nosy: +benjamin.peterson
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10448>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com