[Python-Dev] PYC Magic

Martin v. Loewis martin@v.loewis.de
02 Jun 2002 23:53:20 +0200

Michael Hudson <mwh@python.net> writes:

> Someone on comp.lang.python reported getting corrupt .pycs by having
> modules in a user-writeable directory being accessed more-or-less
> simultaneously by different Python versions.  I'm not sure what could
> be done aobut that.

The user could remove write permission on that directory. I think
Python should provide an option to never write .pyc files,
controllable through sys.something.