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 yuriy_levchenko
Recipients yuriy_levchenko
Date 2016-02-23.14:49:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456238998.85.0.782373518975.issue26421@psf.upfronthosting.co.za>
In-reply-to
Content
i have object with flag Py_TPFLAGS_STRING_SUBCLASS

stringobject.c (line 1192) in function string_richcompare

we have check string PyString_Check

but,

#define PyString_Check(op) \
                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_STRING_SUBCLASS)

i successful check this. But my type is not PyStringObject

Maybe need replace this check on PyString_CheckExact?
History
Date User Action Args
2016-02-23 14:49:58yuriy_levchenkosetrecipients: + yuriy_levchenko
2016-02-23 14:49:58yuriy_levchenkosetmessageid: <1456238998.85.0.782373518975.issue26421@psf.upfronthosting.co.za>
2016-02-23 14:49:58yuriy_levchenkolinkissue26421 messages
2016-02-23 14:49:58yuriy_levchenkocreate