[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

Brett Cannon report at bugs.python.org
Wed Aug 5 06:45:02 CEST 2009


Brett Cannon <brett at python.org> added the comment:

OK, I need a double-check here, David. At this point I have narrowed it 
down to this code triggering it::

  finder = importlib._bootstrap._PyPycFileFinder('.')
  sys.path_importer_cache['.'] = finder

And I am not kidding, that assignment is required. I might be able to 
narrow the code down further in _PyPycFileFinder, but I wanted to double-
check that I have not gone insane and that these two lines do indeed 
trigger the problem.

----------
assignee: brett.cannon -> r.david.murray

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


More information about the Python-bugs-list mailing list