Python .elc and /etc/magic
Martin von Loewis
loewis at informatik.hu-berlin.de
Wed Nov 14 08:16:01 EST 2001
pinard at iro.umontreal.ca (=?iso-8859-1?q?Fran=E7ois?= Pinard) writes:
> Here is the Python relevant code in the copy from Linux SuSE 7.2.
We found that adding
# MAGIC as specified in Python/import.c
# 60717 ( YEAR - 1995 ) + MONTH + DAY (little endian followed by "\r\n"
0 belong 0x2ded0d0a python (2.2) compiled
# 60202 ( YEAR - 1995 ) + MONTH + DAY (little endian followed by "\r\n"
0 belong 0x2aeb0d0a python (2.1) compiled
# 50823 ( YEAR - 1995 ) + MONTH + DAY (little endian followed by "\r\n"
0 belong 0x87c60d0a python (2.0) compiled
will help.
> And even, if one knows the proper incantations, how do we proceed then
> for having that `/etc/magic' file more universally modified?
We'll make a Debian bug shortly, and make sure it is propagated
upstream.
Regards,
Martin
More information about the Python-list
mailing list