Bugs item #1506951, was opened at 2006-06-16 00:07 Message generated for change (Comment added) made by zseil You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1506951&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: None Status: Open Resolution: None Priority: 5 Submitted By: Christopher Dunn (christopherdunn) Assigned to: Nobody/Anonymous (nobody) Summary: pydoc fails on package in ZIP archive Initial Comment: I have Foo/__init__.py and Foo/bar.py in a ZIP archive, test.zip, which is in the PYTHONPATH. pydoc works on Foo.bar, but fails on package Foo. % pydoc Foo Traceback (most recent call last): File "~/bin/pydoc", line 5, in ? pydoc.cli() File "../python-2.4/lib/python2.4/pydoc.py", line 2228, in cli help.help(arg) File "../python-2.4/lib/python2.4/pydoc.py", line 1682, in help elif request: doc(request, 'Help on %s:') File "../python-2.4/lib/python2.4/pydoc.py", line 1468, in doc pager(title % desc + '\n\n' + text.document(object, name)) File "../python-2.4/lib/python2.4/pydoc.py", line 296, in document if inspect.ismodule(object): return self.docmodule(*args) File "../python-2.4/lib/python2.4/pydoc.py", line 1053, in docmodule for file in os.listdir(object.__path__[0]): OSError: [Errno 20] Not a directory: 'test.zip/Foo' ---------------------------------------------------------------------- Comment By: �iga Seilnacht (zseil) Date: 2006-08-01 01:49 Message: Logged In: YES user_id=1326842 This is fixed in the 2.5 release. The details of the fix are quite involved, so it is unlikely that it will be backported. See revision 45510 for details: http://mail.python.org/pipermail/python-checkins/2006-April/051452.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1506951&group_id=5470
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com