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 serhiy.storchaka
Recipients JelleZijlstra, benjamin.peterson, brett.cannon, georg.brandl, meador.inge, ncoghlan, serhiy.storchaka, vstinner, yselivanov, ztane
Date 2017-12-14.08:27:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513240079.49.0.213398074469.issue26549@psf.upfronthosting.co.za>
In-reply-to
Content
Seems moving constant folding to the AST level (issue29469) have solved this issue.

>>> def foo():
...     a = (1,2,3,4,5,6,7,8,9,10)
... 
>>> foo.__code__.co_stacksize
1
History
Date User Action Args
2017-12-14 08:27:59serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, georg.brandl, ncoghlan, vstinner, benjamin.peterson, meador.inge, yselivanov, ztane, JelleZijlstra
2017-12-14 08:27:59serhiy.storchakasetmessageid: <1513240079.49.0.213398074469.issue26549@psf.upfronthosting.co.za>
2017-12-14 08:27:59serhiy.storchakalinkissue26549 messages
2017-12-14 08:27:59serhiy.storchakacreate