[Python-Dev] MAKE_FUNCTION simplification

Brett Cannon brett at python.org
Thu Apr 14 12:30:37 EDT 2016


On Thu, 14 Apr 2016 at 09:16 Nikita Nemkin <nikita at nemkin.ru> wrote:

> On Thu, Apr 14, 2016 at 8:32 PM, Victor Stinner
> <victor.stinner at gmail.com> wrote:
> >
> > Would you like to work on a patch to implement that change?
>
> I'll work on a patch. Should I post it to bugs.python.org?
>

Yep.


>
> > Since Python 3.6 may get a new bytecode format  (wordcode, see the
> > other thread on this mlailing list), I think that it's ok to change
> > MAKE_FUNCTION in the same release.
>
> Wordcode looks like pure win from (projected) 25% bytecode size
> reduction alone.
>

CPU performance is more the worry here (which looks mostly unaffected,
maybe even faster), but reduced .pyc files is a nice perk. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160414/f86ff779/attachment.html>


More information about the Python-Dev mailing list