[issue14385] Support other types than dict for __builtins__
STINNER Victor
report at bugs.python.org
Mon Apr 16 01:49:25 CEST 2012
STINNER Victor <victor.stinner at gmail.com> added the comment:
Oops, patch version 2 was not correct: I forgot a { ... } in ceval.c.
New patch fixing this issue but leaves also the LOAD_GLOBAL code unchanged : keep the goto and don't try to factorize the 3 last instructions. LOAD_GLOBAL is really critical in performance.
With patch version 3, the overall overhead is +0.4% according to pybench.
----------
Added file: http://bugs.python.org/file25230/builtins-3.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14385>
_______________________________________
More information about the Python-bugs-list
mailing list