[Python-Dev] importing .pyc-files generated by Python 1.5.2 in Python 1.6. Why not?

Daniel Berlin dan@cgsoftware.com
Tue, 23 May 2000 10:43:44 -0400


Because of the unicode changes, AFAIK.
Or was it the multi-arg vs single arg append and friends.
Anyway, the point is that their were incompatible changes made, and thus,
the magic was changed.
--Dan
>
>
> Python 1.6 reports a bad magic error, when someone tries to import a .pyc
> file compiled by Python 1.5.2.  AFAIK only new features have been
> added.  So why it isn't possible to use these old files in Python 1.6?
>
> Regards, Peter
> --
> Peter Funk, Oldenburger Str.86, D-27777 Ganderkesee, Germany,
> Fax:+49 4222950260
> office: +49 421 20419-0 (ArtCom GmbH, Grazer Str.8, D-28359 Bremen)