homepage

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 brett.cannon
Recipients brett.cannon
Date 2008年10月31日.22:54:12
SpamBayes Score 1.0827339e-11
Marked as misclassified No
Message-id <1225493656.7.0.491759141743.issue4211@psf.upfronthosting.co.za>
In-reply-to
Content
I have an attached patch that fixes the reported problem.
First, it adds a sanity check that no empty module name is checked for
(crashes the interpreter otherwise).
Second, the __path__ attribute is now a list. This does break
backwards-compatibility and thus cannot be backported to 2.6.
Third, I removed the special-casing of frozen packages and just made
frozen module checks a universal thing. This did change the module
resolution order such that frozen modules are checked before built-in
modules and registered modules under Windows (whatever those are).
Moving frozen modules after those two cases are possible if it's really
desired.
At this point I need a review to get this into 3.0 and a decision on
whether to backport to 2.7 (I say don't bother, out of
backward-compatibility, but it probably wouldn't really hurt anything
either).
History
Date User Action Args
2008年10月31日 22:54:17brett.cannonsetrecipients: + brett.cannon
2008年10月31日 22:54:16brett.cannonsetmessageid: <1225493656.7.0.491759141743.issue4211@psf.upfronthosting.co.za>
2008年10月31日 22:54:15brett.cannonlinkissue4211 messages
2008年10月31日 22:54:14brett.cannoncreate

AltStyle によって変換されたページ (->オリジナル) /