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 vstinner
Recipients paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-09-06.15:26:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630942002.39.0.68515448388.issue45115@roundup.psfhosted.org>
In-reply-to
Content
This change is motivated by my PR 28128 which converts the Py_TYPE() macro to a static inline function. The problem is that by default, MSC disables inlining and test_exceptions does crash with a stack overflow, since my change increases the usage of the stack memory: see bpo-44348.

By the problem is wider than just Py_TYPE().

See also bpo-45094: "Consider using __forceinline and __attribute__((always_inline)) on static inline functions (Py_INCREF, Py_TYPE) for debug builds".
History
Date User Action Args
2021-09-06 15:26:42vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower
2021-09-06 15:26:42vstinnersetmessageid: <1630942002.39.0.68515448388.issue45115@roundup.psfhosted.org>
2021-09-06 15:26:42vstinnerlinkissue45115 messages
2021-09-06 15:26:42vstinnercreate