[Python-Dev] .pyc magic (Python 2.1 release schedule)

M.-A. Lemburg mal@lemburg.com
Sun, 11 Feb 2001 15:33:39 +0100


Tim Peters wrote:
> 
> [Guido]
> > - New schema for .pyc magic number?  (Eric, Tim)
> 
> [Eric]
> > It looked to me like Tim had a good scheme, but he never specified
> > the latter (integrity-check) part of the header).
> 
> Heh -- I stopped after the first 4 bytes!  Didn't intend to do more (the
> first 4 are the hardest <0.25 wink>).  Was hoping Ping would rework his
> ideas into the framework /F suggested (next 4 bytes is a timestamp, then a
> new marshal type containing "everything else").
> 
> I doubt that can make it in for 2.1, though, unless someone works intensely
> on it this week.

Just a side-note: the flags for e.g. -U ought to also provide
a way to store the encoding used by the compiler and perhaps
even the compiler version/name.

Don't think it's a good idea to put this into 2.1, though, since
it needs a PEP :-)

-- 
Marc-Andre Lemburg
______________________________________________________________________
Company:                                        http://www.egenix.com/
Consulting:                                    http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/