Bugs item #1506951, was opened at 2006-06-15 17:07 Message generated for change (Tracker Item Submitted) made by Item Submitter 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' ---------------------------------------------------------------------- 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