PEP 304 - Controlling generation of bytecode files

Skip Montanaro skip at pobox.com
Mon Jan 27 17:44:15 EST 2003


Your feedback is solicited on PEP 304, "Controlling generation of bytecode
files".  Briefly put, in some situations multiple competing processes may
attempt to write the same .pyc file at approximately the same time, possibly
yielding corrupted files.  In other situations you are reading from
read-only file systems or zip files and need some other place to write .pyc
files.  Finally, even if you can write to the default location, you may have
other, faster alternatives (local vs. network disk, disk vs. ram disk) where
you wish to write .pyc files.

You can find the pep here:

    http://www.python.org/dev/peps/pep-0304.html

I just (2003-01-27, 1630 US Central Time) checked in a minor change to the
document related to import hooks (version 1.4).  I don't know how frequently
the pep directory is updated, so you might have to wait awhile to get at it.

Skip





More information about the Python-list mailing list