[Python-Dev] __pycache__ creation

Nick Coghlan ncoghlan at gmail.com
Wed Mar 24 13:04:48 CET 2010


Barry Warsaw wrote:
> On Mar 22, 2010, at 12:38 PM, Guido van Rossum wrote:
> 
>> Huh? Last time I looked weren't we going to make __pycache__ the
>> default (and eventually only) behavior?
> 
> We definitely agreed it would be the default in Python 3.2.
> 
> My recollection is that we agreed it would be the only on-demand way of
> writing pyc files, but that Python would read a lone .pyc file where the
> source would be if the source is missing, and that py_compile/compileall would
> support optional creation of those lone .pyc files.

Yep, that's my recollection as well. I don't recall seeing an update to
state that clearly in the PEP go by on the checkins list though :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list