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 pitrou, serhiy.storchaka, vstinner
Date 2017-05-31.06:56:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496213779.31.0.826452835506.issue30509@psf.upfronthosting.co.za>
In-reply-to
Content
PR 1883 cleans up the code related to calling type slots.

* Use _PyObject_LookupSpecial() instead of lookup_maybe() in set_names(). This isn't performance critical.
* Inline lookup_maybe() in _PyObject_LookupSpecial(). This was the only remaining use of lookup_maybe().
* Replace lookup_maybe_method() and following raising an exception with lookup_method() in call_method().
* Replace lookup_method() with lookup_maybe_method() if the exception is ignored.
* Update outdated comments.
* Use call_method() in slot_sq_item. The comment about super-optimized version was outdated, now call_method() implements this.
History
Date User Action Args
2017-05-31 06:56:19serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner
2017-05-31 06:56:19serhiy.storchakasetmessageid: <1496213779.31.0.826452835506.issue30509@psf.upfronthosting.co.za>
2017-05-31 06:56:19serhiy.storchakalinkissue30509 messages
2017-05-31 06:56:19serhiy.storchakacreate