diff options
author | Raymond Hettinger <python@rcn.com> | 2004-09-22 18:44:21 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-09-22 18:44:21 (GMT) |
commit | 2c31a058eb719da8908ea9d9c2f1b748ecc7a4ca (patch) | |
tree | 8795a38ea15df04a9427f00c8ae826108bc7cc1e /Python/import.c | |
parent | 0318a939dd0881b26b2ec7239cedd2faa58a4412 (diff) | |
download | cpython-2c31a058eb719da8908ea9d9c2f1b748ecc7a4ca.zip cpython-2c31a058eb719da8908ea9d9c2f1b748ecc7a4ca.tar.gz cpython-2c31a058eb719da8908ea9d9c2f1b748ecc7a4ca.tar.bz2 |
SF patch #1031667: Fold tuples of constants into a single constant
Example:
>>> import dis
>>> dis.dis(compile('1,2,3', '', 'eval'))
0 0 LOAD_CONST 3 ((1, 2, 3))
3 RETURN_VALUE
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c index 8bbd31b..61e4313 100644 --- a/Python/import.c +++ b/Python/import.c @@ -49,8 +49,9 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *); Python 2.3a0: 62011 (!) Python 2.4a0: 62041 Python 2.4a3: 62051 + Python 2.4b1: 62061 */ -#define MAGIC (62051 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (62061 | ((long)'\r'<<16) | ((long)'\n'<<24)) /* Magic word as global; note that _PyImport_Init() can change the value of this global to accommodate for alterations of how the |