PEP 3147 - new .pyc format

MRAB python at mrabarnett.plus.com
Sat Jan 30 19:19:50 EST 2010


Alf P. Steinbach wrote:
> * John Bokma:
>> MRAB <python at mrabarnett.plus.com> writes:
>>
>>> The PEP has a .pyr directory for each .py file:
>>>
>>>     foo.py
>>>     foo.pyr/
>>>         f2b30a0d.pyc # Python 2.5
>>>         f2d10a0d.pyc # Python 2.6
>>>         f2d10a0d.pyo # Python 2.6 -O
>>>         f2d20a0d.pyc # Python 2.6 -U
>>>         0c4f0a0d.pyc # Python 3.1
>>
>> wow: so much for human readable file names :-(
> 
> I agree.
> 
> Human readable filenames would be much better.
> 
The names are the magic numbers. It's all in the PEP.



More information about the Python-list mailing list