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 jkloth
Recipients Arfrever, Mark.Shannon, amaury.forgeotdarc, asvetlov, benjamin.peterson, brett.cannon, dmalcolm, ilblackdragon, jcea, jkloth, larry, lemburg, mark.dickinson, python-dev, vstinner
Date 2013-06-24.11:19:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372072798.98.0.0208994714789.issue17206@psf.upfronthosting.co.za>
In-reply-to
Content
At least in a debug build, the MSVC 64-bit compiler seems to allocate space for each unique variable declared in the function body.  Therefore, by changing the temporary variables to be named identically, the amount of required space is minimized.

The refactoring of Py_DECREF is needed to prevent an error for local variable defined before use when Py_DECREF is nested within another macro already defining _py_tmp (it would expand to roughly PyObject *_py_tmp = _py_tmp).
History
Date User Action Args
2013-06-24 11:19:59jklothsetrecipients: + jkloth, lemburg, brett.cannon, jcea, amaury.forgeotdarc, mark.dickinson, vstinner, larry, benjamin.peterson, Arfrever, asvetlov, dmalcolm, Mark.Shannon, python-dev, ilblackdragon
2013-06-24 11:19:58jklothsetmessageid: <1372072798.98.0.0208994714789.issue17206@psf.upfronthosting.co.za>
2013-06-24 11:19:58jklothlinkissue17206 messages
2013-06-24 11:19:58jklothcreate