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.3307235e-05
Marked as misclassified No
Message-id <w2weae285401005090932n9154c001v4568b1dfab96be93@mail.gmail.com>
In-reply-to <1273324068.67.0.0793338480532.issue8654@psf.upfronthosting.co.za>
Content
On Sat, May 8, 2010 at 8:07 AM, Martin v. Löwis <report@bugs.python.org>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. :-(
Files
File name Uploaded
unnamed stutzbach, 2010-05-09.16:32:08
History
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