Antoine Pitrou added the comment:

Your interpretation of PyUnicode_Check() is correct. I don't know why your 
program fails but I would suggest some kind of compiler bug or incompatibility. 
You can find the definition of the unicode type in Objects/unicodeobject.c. 
There you'll find that Py_TPFLAGS_UNICODE_SUBCLASS is set in PyUnicode_Type's 
tp_flags.

(for the record, under Windows we only support builds made with MSVC)

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23603>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to