Message377978
| Author |
serhiy.storchaka |
| Recipients |
gvanrossum, serhiy.storchaka, vstinner |
| Date |
2020年10月04日.22:20:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1601850031.67.0.853880469279.issue41936@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Macros Py_ALLOW_RECURSION and Py_END_ALLOW_RECURSION together with field recursion_critical of the PyInterpreterState structure were added in 5b222135f8d2492713994f2cb003980e87ce6a72 but were never documented. It seems that the reason of adding them was to work around the fact that PyDict_GetItem() can silence any exception including recursion error. But PyDict_GetItem() no longer used in that code and the macros are also no longer used (see issue41909).
GvR proposed to remove these macros. I think that recursion_critical can be removed too. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2020年10月04日 22:20:31 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, vstinner |
| 2020年10月04日 22:20:31 | serhiy.storchaka | set | messageid: <1601850031.67.0.853880469279.issue41936@roundup.psfhosted.org> |
| 2020年10月04日 22:20:31 | serhiy.storchaka | link | issue41936 messages |
| 2020年10月04日 22:20:31 | serhiy.storchaka | create |
|