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 ncoghlan
Recipients Martin.Teichmann, Wombatz, abarry, ncoghlan, ned.deily, rhettinger, serhiy.storchaka
Date 2016-11-29.06:06:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480399594.75.0.616941586554.issue28797@psf.upfronthosting.co.za>
In-reply-to
Content
I was thinking that the notification dict could consist of mappings from attribute names to already bound __set_name__ methods, so the double lookup would be avoided that way (but hadn't actually sent the review where I suggested that).

That is, on the second loop, the actual method call would be:

    tmp = PyObject_CallFunctionObjArgs(value, type, key, NULL);

Have I missed something that would prevent that from working?
History
Date User Action Args
2016-11-29 06:06:34ncoghlansetrecipients: + ncoghlan, rhettinger, ned.deily, serhiy.storchaka, Martin.Teichmann, abarry, Wombatz
2016-11-29 06:06:34ncoghlansetmessageid: <1480399594.75.0.616941586554.issue28797@psf.upfronthosting.co.za>
2016-11-29 06:06:34ncoghlanlinkissue28797 messages
2016-11-29 06:06:34ncoghlancreate