pyc files not automatically compiled on import

Aahz aahz at pythoncraft.com
Mon Jul 27 10:45:50 EDT 2009


In article <mailman.3739.1248625343.8015.python-list at python.org>,
Baz Walter  <bazwal at ftml.net> wrote:
>
>i thought that python automatically compiled pyc files after a module is 
>successfully imported. what could prevent this happening?

Looks like you got your problem fixed, but for the record, not having
write permission on a directory also causes this.  It's even uglier when
the .pyc already exists but does not have write perms.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer



More information about the Python-list mailing list