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 BreamoreBoy, Rhamphoryncus, ajaksu2, amaury.forgeotdarc, benjamin.peterson, collinwinter, eric.smith, ezio.melotti, ferringb, gvanrossum, jafo, jimjjewett, lemburg, mark.dickinson, orivej, pitrou, rhettinger, terry.reedy
Date 2011-04-25.19:34:56
SpamBayes Score 0.000146502
Marked as misclassified No
Message-id <1303760097.61.0.252329704769.issue1943@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2011-04-25 19:34:57amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, lemburg, gvanrossum, collinwinter, rhettinger, terry.reedy, jafo, jimjjewett, mark.dickinson, Rhamphoryncus, pitrou, eric.smith, ferringb, ajaksu2, benjamin.peterson, orivej, ezio.melotti, BreamoreBoy
2011-04-25 19:34:57amaury.forgeotdarcsetmessageid: <1303760097.61.0.252329704769.issue1943@psf.upfronthosting.co.za>
2011-04-25 19:34:56amaury.forgeotdarclinkissue1943 messages
2011-04-25 19:34:56amaury.forgeotdarccreate