Author eric.araujo
Recipients Thorney, alexis, ceball, drunax, eric.araujo, fishdude, ipatrol, loewis, tarek
Date 2014-03-07.10:37:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394188670.16.0.186574647668.issue4508@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks Brian, let’s try and get this fixed.

> I've put together a patch adding the test requested. There is no problem on
> my Ubuntu machine with python 3.3.

Are you saying the test does not reproduce the bug discussed here?

> There is a comment in the file saying Don't load the xx module more than
> once, I am unsure whether my patch (using a renamed c file) violates this?

Hm I’m not quite sure if it’s enough that the extensions use different file names, or if they should also have different names inside the code.  Existing tests already create and import xx multiple times though…

> One can create a python file "my file.py" and can import it with
> __import__("my file"). I couldn't do the same for a C extension.

One can’t do “import my file” though, so I would sweep this under the rug as an obscure corner case :‑)
History
Date User Action Args
2014-03-07 10:37:50eric.araujosetrecipients: + eric.araujo, loewis, ceball, tarek, Thorney, ipatrol, alexis, fishdude, drunax
2014-03-07 10:37:50eric.araujosetmessageid: <1394188670.16.0.186574647668.issue4508@psf.upfronthosting.co.za>
2014-03-07 10:37:50eric.araujolinkissue4508 messages
2014-03-07 10:37:49eric.araujocreate