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 AstraLuma, iritkatriel, rhettinger, scopatz, serhiy.storchaka
Date 2021-12-11.23:00:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639263645.5.0.211616851464.issue29221@roundup.psfhosted.org>
In-reply-to
Content
It is still reproducible if increase the depth. In 3.8-3.10 it needs 329 nested classes, in 3.11 -- 496.

Seems the limit is sys.getrecursionlimit()//k - 4, where k=4 in 3.7 and older, k=3 in 3.8-3.10, and k=2 in 3.11. It is much better than was initially, but the ideal is k=1.
History
Date User Action Args
2021-12-11 23:00:45serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, AstraLuma, scopatz, iritkatriel
2021-12-11 23:00:45serhiy.storchakasetmessageid: <1639263645.5.0.211616851464.issue29221@roundup.psfhosted.org>
2021-12-11 23:00:45serhiy.storchakalinkissue29221 messages
2021-12-11 23:00:45serhiy.storchakacreate