summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-08-23 23:37:48 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-08-23 23:37:48 (GMT)
commitfd2d1f7870ec5cd639ab7867a33c6f8628ca1dfb (patch)
treee53476ea480ea8b7c0dd17100ac265c3e8166f40 /Python/import.c
parent08158a0c65c960dfcb2ad19680f215d6a395054d (diff)
downloadcpython-fd2d1f7870ec5cd639ab7867a33c6f8628ca1dfb.zip
cpython-fd2d1f7870ec5cd639ab7867a33c6f8628ca1dfb.tar.gz
cpython-fd2d1f7870ec5cd639ab7867a33c6f8628ca1dfb.tar.bz2
SF Patch #1013667: Cleanup Peepholer Output
* Make a pass to eliminate NOPs. Produce code that is more readable, more compact, and a tiny bit faster. Makes the peepholer more flexible in the scope of allowable transformations. * With Guido's okay, bumped up the magic number so that this patch gets widely exercised before the alpha goes out.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 80427f8..8bbd31b 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -48,8 +48,9 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *);
Python 2.3a0: 62021
Python 2.3a0: 62011 (!)
Python 2.4a0: 62041
+ Python 2.4a3: 62051
*/
-#define MAGIC (62041 | ((long)'\r'<<16) | ((long)'\n'<<24))
+#define MAGIC (62051 | ((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