[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-17 Thread Paul Moore
Paul Moore added the comment: Egg files are a format defined by setuptools. If you look in the setuptools documentation it notes that egg files are simply zipfiles with a particular structure and naming convention. So from a core Python perspective, you can use eggs just like any other

[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-17 Thread Thomas Guettler
Thomas Guettler added the comment: The docs should be where new users look. I don't speak about several hundret words Where do you think new users look for documentation if they want a method which does find a module? -- ___ Python tracker

[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-17 Thread Thomas Guettler
Thomas Guettler added the comment: In this case I am wearing newbee user glasses. And with this glasses on my nose, I don't care for implementation. I am confused that imp module does not work like import foo. -- ___ Python tracker

[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-17 Thread Mark Lawrence
Mark Lawrence added the comment: https://pythonhosted.org/setuptools/ -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23625 ___

[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-12 Thread Brett Cannon
Brett Cannon added the comment: I understood what you asked. My point is that mentioning eggs in the imp doesn't make sense since the imp module nor import supports them natively. Eggs are a setuptools thing, not a Python standard library thing. --

[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-11 Thread Brett Cannon
Brett Cannon added the comment: Egg files are not a part of the Python stdlib and so I don't understand why you expected them to be supported by imp? Anyway, because egg files are not from Python itself but a third-party project they shouldn't be referenced from the official docs as it would

[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-11 Thread Thomas Guettler
Thomas Guettler added the comment: Dear Bret Cannon, I don't ask for egg support in the imp module. I don't want to change the implemenation of imp.find_module() I just want to update the docs. Most people run a python version which supports loading zipped eggs. Please reopened this, since I

[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-10 Thread Thomas Güttler
New submission from Thomas Güttler: Please update the docs of imp.find_module() https://docs.python.org/2/library/imp.html#imp.find_module zipped egg files in sys.path are not found. Please provide a link how to find modules in sys.path like the interpreter does (with support of zipped egg