[Python-Dev] PEP 3147, __pycache__ directories and umask
"Martin v. Löwis"
martin at v.loewis.de
Mon Mar 22 16:58:47 CET 2010
> refuse to create __pycache__ if I can't create it with the same ownership
> and permissions as the parent directory (and raise an ImportWarning).
I don't think an ImportWarning should be raised: AFAICT, we are not
raising one, either, when the pyc file cannot be created (and it may
well be the case that you don't have write permission at all, which
would trigger lots of ImportWarnings).
More information about the Python-Dev