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 xdegaye
Recipients brett.cannon, eric.smith, r.david.murray, xdegaye
Date 2012-11-16.21:41:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353102086.21.0.045660152196.issue16489@psf.upfronthosting.co.za>
In-reply-to
Content
If one would want to fix this, one way to do it could be to change the
following two methods of the PathFinder class such that:

    find_module() does not set path to sys.path when its path argument
    is None, so as to keep this information for _get_loader() to
    process it later

    _get_loader() sets path to sys.path when its path argument is None
    and returns a None loader when a loader has been found by a finder
    and:
        - this finder is a FileFinder instance
        - the _get_loader() path argument is None
        - the module name is a dotted name
History
Date User Action Args
2012-11-16 21:41:26xdegayesetrecipients: + xdegaye, brett.cannon, eric.smith, r.david.murray
2012-11-16 21:41:26xdegayesetmessageid: <1353102086.21.0.045660152196.issue16489@psf.upfronthosting.co.za>
2012-11-16 21:41:26xdegayelinkissue16489 messages
2012-11-16 21:41:26xdegayecreate