Author okopnik
Recipients eric.araujo, okopnik
Date 2011-04-27.21:01:39
SpamBayes Score 7.35816e-09
Marked as misclassified No
Message-id <1303938100.13.0.0426257671672.issue11914@psf.upfronthosting.co.za>
In-reply-to
Content
Whoops... with all of that, I just realized that this bug should be filed against pkgutil, not pydoc (pydoc, of course, calls pkgutil to do the path resolution, which is where this crash occurs.) My bad.

>>> import pkgutil
>>> inst = pkgutil.ImpImporter(path='/tmp')
>>> list(inst.iter_modules())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.1/pkgutil.py", line 209, in iter_modules
    for fn in os.listdir(path):
OSError: [Errno 13] Permission denied: '/tmp/orbit-gdm'
History
Date User Action Args
2011-04-27 21:01:40okopniksetrecipients: + okopnik, eric.araujo
2011-04-27 21:01:40okopniksetmessageid: <1303938100.13.0.0426257671672.issue11914@psf.upfronthosting.co.za>
2011-04-27 21:01:39okopniklinkissue11914 messages
2011-04-27 21:01:39okopnikcreate