>Why not try another directory instead? Like /usr/tmp or whatever.
This introduces a serious security question. The compiler has to trust the
contents of the .pyc file to really be the result of compiling the .py; if
that can be easily violated, people could easily insert a trojan horse.