Message401142
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". |
|
Date |
User |
Action |
Args |
2021-09-06 15:26:42 | vstinner | set | recipients:
+ vstinner, paul.moore, tim.golden, zach.ware, steve.dower |
2021-09-06 15:26:42 | vstinner | set | messageid: <1630942002.39.0.68515448388.issue45115@roundup.psfhosted.org> |
2021-09-06 15:26:42 | vstinner | link | issue45115 messages |
2021-09-06 15:26:42 | vstinner | create | |
|