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

2012-12-19 Thread David Pritchard
New submission from David Pritchard: In importlib/_bootstrap.py, there is a function _fill_cache which crashes when you try to run Python in any environment that is so restricted that write permissions are not allowed. You get a trace like: Traceback (most recent call last): In line

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

2012-12-19 Thread David Pritchard
David Pritchard added the comment: Sorry, in the main text of my message, "write permissions" should say directory execute permissions (permission to list contents of a directory) -- ___ Python tracker <http://bugs.python.o

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

2013-01-03 Thread David Pritchard
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 PYTHO