[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

Ben Okopnik report at bugs.python.org
Wed Apr 27 17:43:35 CEST 2011


Ben Okopnik <ben at okopnik.com> added the comment:

Here's a test that should exercise every version of "pydoc" installed on the system:

mkdir -p /tmp/foo/bar; cd /tmp/foo; chmod 0 bar
for n in `whereis -b pydoc`; do echo "**** $n ****"; $n modules; done

Tested under Ubuntu with bash and sh; should work fine with any Bourne-derived shell that supports 'whereis'. Please see attached file.

----------
Added file: http://bugs.python.org/file21803/pydoc_crash_test

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11914>
_______________________________________


More information about the Python-bugs-list mailing list