PEP 3147 - new .pyc format

Paul Rubin no.email at nospam.invalid
Sat Jan 30 21:40:42 EST 2010


Ben Finney <ben+python at benfinney.id.au> writes:
>>     0c4f0a0d.pyc # Python 3.1
> Mapping magic numbers to versions is infeasible and will be incomplete:
> Any mapping that exists in (say) Python 3.1 can't know in advance what
> the magic number will be for Python 4.5.

But why do the filenames have magic numbers instead of version numbers?



More information about the Python-list mailing list