[Python-Dev] MAGIC after 2001 ?

Gregor Hoffleit gregor@hoffleit.de
Thu, 28 Jun 2001 21:56:35 +0200


Correct me, but AFAICS there are only 186 days left until Python's MAGIC
scheme overflows:

  /* XXX Perhaps the magic number should be frozen and a version field
     added to the .pyc file header? */
  /* New way to come up with the magic number: (YEAR-1995), MONTH, DAY */
  #define MAGIC (60202 | ((long)'\r'<<16) | ((long)'\n'<<24))

I couldn't find this problem in the SF bug tracking system. Should I
submit a new bug entry ?

    Gregor