This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Demur Rumed
Recipients Demur Rumed, amper, benjamin.peterson, brett.cannon, georg.brandl, ncoghlan, rhettinger, vstinner, yselivanov
Date 2016-04-10.14:16:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAA1B2JyZfncuMnOZ3tU+q_mhAq=FkRFajC7EoyrGZ_TUMprGJg@mail.gmail.com>
In-reply-to <7280541460264906@web6g.yandex.ru>
Content
I submitted a patch years ago that addressses the ''x,y = 1, 2' case:
http://bugs.python.org/issue10648 & it was not met with enthusiasm

2016-04-10 5:08 GMT+00:00 Alexander Marshalov <report@bugs.python.org>:

>
> Alexander Marshalov added the comment:
>
> Hi all, this is my first patch to Python.
> I'm interested in the performance of python code, I even worked on the
> development of the static optimizer based on modifications of the AST.
> I had a few ideas for improving peepholer (for example, the expression "x,
> y = 1, 2" according to my benchmarks is about 7-11% slower than the
> expression "x = 1; y = 2", this can be fixed by using a peepholer), but I
> already understood that it is not necessary to do it.
> Thanks for the clarification, I will continue to work towards
> AST-optimizations.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue26722>
> _______________________________________
>
History
Date User Action Args
2016-04-10 14:16:11Demur Rumedsetrecipients: + Demur Rumed, brett.cannon, georg.brandl, rhettinger, ncoghlan, vstinner, benjamin.peterson, yselivanov, amper
2016-04-10 14:16:11Demur Rumedlinkissue26722 messages
2016-04-10 14:16:11Demur Rumedcreate