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 serhiy.storchaka
Recipients methane, njs, serhiy.storchaka, vstinner
Date 2018-01-17.17:35:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516210542.42.0.467229070634.issue32571@psf.upfronthosting.co.za>
In-reply-to
Content
PR 5222 provides functions _PyObject_LookupAttr() and _PyObject_LookupAttrId() with alternate interface. Some code becomes even more simpler.

The possible drawback of this approach is that the compiler should allocate the variable for the result on the stack instead of passing the result in a register (unless compilers are smart enough for optimizing out this case).
History
Date User Action Args
2018-01-17 17:35:42serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, njs, methane
2018-01-17 17:35:42serhiy.storchakasetmessageid: <1516210542.42.0.467229070634.issue32571@psf.upfronthosting.co.za>
2018-01-17 17:35:42serhiy.storchakalinkissue32571 messages
2018-01-17 17:35:42serhiy.storchakacreate