Éric Araujo <mer...@netwok.org> added the comment:

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!

----------
nosy: +eric.araujo -BreamoreBoy
resolution:  -> out of date
stage: unit test needed -> committed/rejected
status: open -> closed
versions:  -Python 2.7, Python 3.1, Python 3.2

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

Reply via email to