[issue10399] AST Optimization: inlining of function calls
Armin Rigo
report at bugs.python.org
Thu Nov 25 09:53:54 CET 2010
Armin Rigo <arigo at users.sourceforge.net> added the comment:
> But this seems to me like a contrived example: how often in real
> code do people pass around these builtins, rather than calling
> them directly?
>From experience developing PyPy, every argument that goes "this theoretically breaks obscure code, but who writes it in that way?" is inherently broken: there *is* code out there that uses any and all Python strangenesses. The only trade-offs you can make is in how much existing code you are going to break -- or make absolutely sure that you don't change semantics in any case.
----------
nosy: +arigo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10399>
_______________________________________
More information about the Python-bugs-list
mailing list