PEP 3147 - new .pyc format

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Jan 31 17:40:03 EST 2010


On Sun, 31 Jan 2010 14:10:34 -0800, Dennis Lee Bieber wrote:

> 	Ugh... That would mean that for an application using, say 20 
> files,
> one now has 20 subdirectories for what, in a lot of cases, will contain
> just one file each (and since I doubt older Python's will be modified to
> support this scheme, it will only be applicable to 3.x, and maybe a
> 2.7?)

If you only use one version of Python, then don't run it with the -R 
switch.

Have you read the PEP? It is quite explicit that the default behaviour 
of .pyc files will remain unchanged, that to get the proposed behaviour 
you have to specifically ask for it.



-- 
Steven



More information about the Python-list mailing list