[Python-Dev] Proposal: .pyc file format change

Christian Tismer tismer@tismer.com
Sun, 28 May 2000 18:51:20 +0200


Peter Funk wrote:
> 
> [...]
> > For simplicity, comapibility and ease of change,
> > I vote with +1 for adopting the solution of
> >
> > byte 0: 'P'
> > byte 1: 'Y'
> > byte 2: version number (counting from 1)
> > byte 3: option byte (8 bits: one for each option;
> >                      bit 0: -U cmd switch)
> >
> > If that turns out to be insufficient in some future,
> > do a complete redesign.
> 
> What about the CR/LF issue with some Mac Compilers (see
> Guido's mail for details)?  Can we simply drop this?

Well, forgot about that.
How about swapping bytes 0 and 1?

-- 
Christian Tismer             :^)   <mailto:tismer@appliedbiometrics.com>
Applied Biometrics GmbH      :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     where do you want to jump today?   http://www.stackless.com