[issue16730] _fill_cache in _bootstrap.py crashes without directory execute permissions

David Pritchard report at bugs.python.org
Thu Jan 3 21:30:39 CET 2013


David Pritchard added the comment:

Here's an example where Python 3.3.0 crashes, but where the patched code works. I have only been able to trigger the bug when PYTHONPATH is set (even if to an empty value). 

(1) create a directory
(2) chmod a-rw+x on that directory
(3) export PYTHONPATH=""
(4) python3 from within that directory: should crash on loading

Note, without step (3) the error does not occur. Alternatively, do (1), (2),

(3') set PYTHONPATH to that -rw'ed directory
(4') python3 from outside of that directory: should crash on loading

----------

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


More information about the Python-bugs-list mailing list