Hi guys,
Over on the python-ideas mailing list, there is a long thread about the
default argument hack in functions, used for micro-optimizations,
early-binding, and monkey-patching. Various alternatives are being
argued about. One proposal put forward involves bytecode manipulations
to change global lookups to local so that one could have a decorator
that "injects" a value into a copy of the function.
What's the PyPy position on bytecode hacking? Good, bad, evil, don't
mind either way?
For those who care, the thread starts here:
http://mail.python.org/pipermail/python-ideas/2011-September/011691.html
(beware, it's long).
Thanks in advance,
--
Steven
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev