[issue24340] co_stacksize estimate can be highly off

2018-01-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue24340] co_stacksize estimate can be highly off

2018-01-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d4864c61e3e27e337762dc45e504977299bd5b46 by Serhiy Storchaka in branch 'master': bpo-24340: Fix estimation of the code stack size. (#5076) https://github.com/python/cpython/commit/d4864c61e3e27e337762dc45e504977299bd5b46 -- _

[issue24340] co_stacksize estimate can be highly off

2018-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tests originally based on Antoine's tests added for PR 2827. -- ___ Python tracker ___ ___ Pytho

[issue24340] co_stacksize estimate can be highly off

2018-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: With PR 5076 the result of the above example is 10. -- ___ Python tracker ___ ___ Python-bugs-li

[issue24340] co_stacksize estimate can be highly off

2018-01-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +4950 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue24340] co_stacksize estimate can be highly off

2017-11-06 Thread Neil Schemenauer
Neil Schemenauer added the comment: The WIP pull request PR# 2827 seems to help. The following code prints 86 on python3.6 and 25 with PR 2827 applied. def g(): try: pass except ImportError as e: pass try: pass except ImportError as e: pass try: pass except ImportError

[issue24340] co_stacksize estimate can be highly off

2017-11-06 Thread Neil Schemenauer
Change by Neil Schemenauer : -- nosy: +nascheme ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24340] co_stacksize estimate can be highly off

2017-08-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -3289 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue24340] co_stacksize estimate can be highly off

2017-08-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +3289 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue24340] co_stacksize estimate can be highly off

2017-06-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This isn't so easy. Seems the simplest way to solve this issue is implementing issue17611. -- ___ Python tracker ___

[issue24340] co_stacksize estimate can be highly off

2017-06-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm against backporting performance improvements which don't fix a severe regression. -- ___ Python tracker ___ ___

[issue24340] co_stacksize estimate can be highly off

2017-06-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 1938 tries to balance the stack effect computation for try/except and try/finally. I'm not sure that it is worth backporting. Noised Antoine and Benjamin as people related to issue3021. -- nosy: +benjamin.peterson, pitrou stage: needs patch -> pat

[issue24340] co_stacksize estimate can be highly off

2017-06-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2017 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue24340] co_stacksize estimate can be highly off

2017-06-03 Thread Armin Rigo
Changes by Armin Rigo : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24340] co_stacksize estimate can be highly off

2017-02-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue24340] co_stacksize estimate can be highly off

2017-02-21 Thread INADA Naoki
Changes by INADA Naoki : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue24340] co_stacksize estimate can be highly off

2015-06-01 Thread Armin Rigo
Changes by Armin Rigo : -- nosy: -arigo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue24340] co_stacksize estimate can be highly off

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24340] co_stacksize estimate can be highly off

2015-06-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch type: -> resource usage versions: +Python 3.6 ___ Python tracker ___ ___ Python

[issue24340] co_stacksize estimate can be highly off

2015-05-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24340] co_stacksize estimate can be highly off

2015-05-31 Thread Armin Rigo
New submission from Armin Rigo: The computation of `co_stacksize' by the compiler is known to give only an upper bound estimate. http://bugs.python.org/issue1754094 is an example of fixing a "leak" where every repetition of a statement makes `co_stacksize' bigger by 1. However, in the whole