Message191752
| 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:59 | jkloth | set | recipients:
+ 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:58 | jkloth | set | messageid: <1372072798.98.0.0208994714789.issue17206@psf.upfronthosting.co.za> |
| 2013年06月24日 11:19:58 | jkloth | link | issue17206 messages |
| 2013年06月24日 11:19:58 | jkloth | create |
|