Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: I just found that the extension zope.i18nmessageid: http://pypi.python.org/pypi/zope.i18nmessageid subclasses unicode at the C level: http://svn.zope.org/zope.i18nmessageid/trunk/src/zope/i18nmessageid/_zope_i18nmessageid_message.c?rev=120914&view=markup
Notably, the Message structure is defined this way: typedef struct { PyUnicodeObject base; PyObject *domain; PyObject *default_; PyObject *mapping; } Message; How would such an extension type behave after the patch? Is there a workaround we can propose? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1943> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com