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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, christian.heimes, facundobatista, jyasskin, theller
Date 2008-02-14.21:30:37
SpamBayes Score 0.016216988
Marked as misclassified No
Message-id <1203024639.06.0.492038116638.issue2115@psf.upfronthosting.co.za>
In-reply-to
Content
Something interesting:
- attribute setting uses PyObject_IsInstance, which is slower since the
introduction of ABCs.
- attribute reading uses PyObject_TypeCheck, which only searches the
__mro__.

Does this means that many calls to IsInstance could be replaced by
TypeCheck? Of course this makes sense only for new-style classes, but it
is the case for all built-in objects.
History
Date User Action Args
2008-02-14 21:30:39amaury.forgeotdarcsetspambayes_score: 0.016217 -> 0.016216988
recipients: + amaury.forgeotdarc, theller, facundobatista, christian.heimes, jyasskin
2008-02-14 21:30:39amaury.forgeotdarcsetspambayes_score: 0.016217 -> 0.016217
messageid: <1203024639.06.0.492038116638.issue2115@psf.upfronthosting.co.za>
2008-02-14 21:30:38amaury.forgeotdarclinkissue2115 messages
2008-02-14 21:30:38amaury.forgeotdarccreate