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 amaury.forgeotdarc, brett.cannon, docs@python, eudoxos, ncoghlan, r.david.murray
Date 2012-10-16.22:12:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350425525.33.0.998947499981.issue16194@psf.upfronthosting.co.za>
In-reply-to
Content
"""To prevent initializing an extension module more than
   once, we keep a static dictionary 'extensions' keyed by module name
   (for built-in modules) or by filename (for dynamically loaded
   modules), containing these modules.
"""
So there can be only one module per filename.
But what if this dictionary was keyed by tuple(name, filename) instead?
History
Date User Action Args
2012-10-16 22:12:05amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, brett.cannon, ncoghlan, r.david.murray, docs@python, eudoxos
2012-10-16 22:12:05amaury.forgeotdarcsetmessageid: <1350425525.33.0.998947499981.issue16194@psf.upfronthosting.co.za>
2012-10-16 22:12:05amaury.forgeotdarclinkissue16194 messages
2012-10-16 22:12:05amaury.forgeotdarccreate