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 Ronan.Lamy
Recipients Aaron.Meurer, Arfrever, Ronan.Lamy, brett.cannon
Date 2012-06-01.17:34:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338572043.69.0.663635036264.issue14938@psf.upfronthosting.co.za>
In-reply-to
Content
Your second solution is simple and solves the problem, so I guess that's it, then. 

Still, I don't really understand the purpose of SourceLoader, which makes me uneasy about the implementation of _LoaderBasics.is_package(). It seems to be meant to load an arbitrary resource yet it assumes that get_filename returns an actual file path, so I don't see how it could be used to import from a URL, for instance.
History
Date User Action Args
2012-06-01 17:34:03Ronan.Lamysetrecipients: + Ronan.Lamy, brett.cannon, Arfrever, Aaron.Meurer
2012-06-01 17:34:03Ronan.Lamysetmessageid: <1338572043.69.0.663635036264.issue14938@psf.upfronthosting.co.za>
2012-06-01 17:34:03Ronan.Lamylinkissue14938 messages
2012-06-01 17:34:02Ronan.Lamycreate