Message134617
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' |
|
Date |
User |
Action |
Args |
2011-04-27 21:01:40 | okopnik | set | recipients:
+ okopnik, eric.araujo |
2011-04-27 21:01:40 | okopnik | set | messageid: <1303938100.13.0.0426257671672.issue11914@psf.upfronthosting.co.za> |
2011-04-27 21:01:39 | okopnik | link | issue11914 messages |
2011-04-27 21:01:39 | okopnik | create | |
|