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 corona10, erlendaasland, kj, pablogsal, vstinner
Date 2021-09-06.15:31:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630942274.16.0.74464390676.issue45094@roundup.psfhosted.org>
In-reply-to
Content
Sadly, Py_ALWAYS_INLINE does *not* prevent test_exceptions to crash with my PR 28128 (convert Py_TYPE macro to a static inline function). Even if the Py_TYPE() static inline function is inlined, the stack memory still increases. MSC produces inefficient machine code. It allocates useless variables on the stack which requires more stack memory.

I propose a different approach: bpo-45115 "Windows: enable compiler optimizations when building Python in debug mode".
History
Date User Action Args
2021-09-06 15:31:14vstinnersetrecipients: + vstinner, corona10, pablogsal, erlendaasland, kj
2021-09-06 15:31:14vstinnersetmessageid: <1630942274.16.0.74464390676.issue45094@roundup.psfhosted.org>
2021-09-06 15:31:14vstinnerlinkissue45094 messages
2021-09-06 15:31:14vstinnercreate