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 serhiy.storchaka, yuriy_levchenko
Date 2016-02-27.07:33:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456558395.59.0.0687841850452.issue26421@psf.upfronthosting.co.za>
In-reply-to
Content
PyDict_GetItem and lookdict_string use PyString_CheckExact for fast path. String subclasses are proceeded in general way. PyObject_GetAttr and string_richcompare use PyString_Check because they work with string and string subclasses. Py_TPFLAGS_STRING_SUBCLASS shouldn't be used if the type is not string subclass.
History
Date User Action Args
2016-02-27 07:33:15serhiy.storchakasetrecipients: + serhiy.storchaka, yuriy_levchenko
2016-02-27 07:33:15serhiy.storchakasetmessageid: <1456558395.59.0.0687841850452.issue26421@psf.upfronthosting.co.za>
2016-02-27 07:33:15serhiy.storchakalinkissue26421 messages
2016-02-27 07:33:15serhiy.storchakacreate