Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

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

----------
resolution:  -> out of date
stage:  -> resolved
status: open -> closed
superseder:  -> AST-level Constant folding

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue26549>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to