summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2008-03-07 14:13:28 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2008-03-07 14:13:28 (GMT)
commit7af53be66f8c074902e0e7e7c452a280538582bc (patch)
treec2d5933745c44a5099ceadb4f81bc7aa82dfe1c1 /Python/import.c
parente75f59a578a4538451c1d96610a6d183ba8f2e81 (diff)
downloadcpython-7af53be66f8c074902e0e7e7c452a280538582bc.zip
cpython-7af53be66f8c074902e0e7e7c452a280538582bc.tar.gz
cpython-7af53be66f8c074902e0e7e7c452a280538582bc.tar.bz2
Speed up with statements by storing the __exit__ method on the stack instead of in a temp variable (bumps the magic number for pyc files)
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 191c039..ecbec15 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -72,9 +72,10 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *);
storing constants that should have been removed)
Python 2.5c2: 62131 (fix wrong code: for x, in ... in listcomp/genexp)
Python 2.6a0: 62151 (peephole optimizations and STORE_MAP opcode)
+ Python 2.6a1: 62161 (WITH_CLEANUP optimization)
.
*/
-#define MAGIC (62151 | ((long)'\r'<<16) | ((long)'\n'<<24))
+#define MAGIC (62161 | ((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