Ronan Lamy <ronan.l...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14938>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to