[Python-ideas] disabling .pyc and .pyo files
Raymond Hettinger
python at rcn.com
Tue Dec 8 20:34:25 CET 2009
>> Repeatedly we run into trouble because of stray .pyo (and/or .pyc) files.
>> This can happen for a variety of reasons, but most often it occurs when .py
>> files are being removed, or moved in the hierarchy. The problem is that the
>> application will happily load and import an orphaned .pyo file, even though
>> the .py file has gone or moved.
I've seen this same problem occur for a number of users.
It is recurring opportunity to get tripped-up.
Raymond
More information about the Python-ideas
mailing list