"Jim Jewett" <[EMAIL PROTECTED]> wrote: > > On 4/17/06, Greg Ewing <[EMAIL PROTECTED]> wrote: > > Guido van Rossum wrote: > > > > Inlining code obviously addresses this, but that's often > > > killing code structure. > > > Would automated inlining be a legitimate use for > > ast-hacking? > > To keep the same semantics, you need some notification that the (real > version of the) inlined code just got modified.
Not necessarily. I am of the opinion that the function inlining should be done explicitly via decorator (see http://bytecodehacks.sourceforge.net/bch-docs/bch/module-bytecodehacks.inline.html for a sample implementation). - Josiah _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com