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 stutzbach
Recipients Arfrever, gvanrossum, lemburg, loewis, r.david.murray, scoder, stutzbach, vstinner, zooko
Date 2010-05-09.16:32:09
SpamBayes Score 4.33072e-05
Marked as misclassified No
Message-id <>
In-reply-to <>
On Sat, May 8, 2010 at 8:07 AM, Martin v. Löwis <>wrote:

> 1. add a flag to PyModuleDef, indicating whether the module was built in
> UCS-2 or UCS-4 mode. Then let the interpreter refuse the load the module,
> instead of having the dynamic linker do so.

I just thought of another risk inherit in this approach.  If the extension
module is composed of more than one C file, the extension author may
inadvertently compile the file defining the PyModuleDef in Unicode-agnostic
mode but compile another file in Unicode-sensitive mode.  Then they would
have a Unicode-sensitive extension as Unicode-agnostic, which would lead to
mysterious crashes if the Unicode settings are mismatched. :-(
File name Uploaded
unnamed stutzbach, 2010-05-09.16:32:08
Date User Action Args
2010-05-09 16:32:11stutzbachsetrecipients: + stutzbach, lemburg, gvanrossum, loewis, zooko, scoder, vstinner, Arfrever, r.david.murray
2010-05-09 16:32:09stutzbachlinkissue8654 messages
2010-05-09 16:32:09stutzbachcreate