Message 191791 - Python tracker
FYI, however, the new macro is designed as an internal implementation detail along the lines of the other _Py_* macros. That is, just a tiny piece of a larger function to be used at your own risk.
Either way, I've uploaded another version with the do { } while (0) wrapping.