Message401142
| 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". |
|