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 eric.araujo
Recipients eric.araujo, ngrover
Date 2011-02-04.00:03:51
SpamBayes Score 9.055065e-06
Marked as misclassified No
Message-id <1296777832.67.0.0902072432265.issue1613479@psf.upfronthosting.co.za>
In-reply-to
Content
I’ve just tested that the behavior is now correct.  I reproduced the tree structure, set PYTHONPATH, ran “pydoc foo” to get only “one” listed, added the pkgutil call in first/path/foo/__init__.py, re-ran “pydoc foo”, got “one” and “two” listed.  I can also import both submodules.

The pydoc code now uses pkgutil.iter_modules.  Someone must have fixed that before 2.6, closing.  Thanks for the report nonetheless!
History
Date User Action Args
2011-02-04 00:03:52eric.araujosetrecipients: + eric.araujo, ngrover
2011-02-04 00:03:52eric.araujosetmessageid: <1296777832.67.0.0902072432265.issue1613479@psf.upfronthosting.co.za>
2011-02-04 00:03:51eric.araujolinkissue1613479 messages
2011-02-04 00:03:51eric.araujocreate