Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 58229:c2fdf25329ff legacy-trunk
Issue #2335: Backport set literals syntax from Python 3.x.
| author | Alexandre Vassalotti <alexandre@peadrop.com> |
|---|---|
| date | Sat, 09 Jan 2010 23:35:54 +0000 |
| parents | b0d03fa073ec |
| children | edfed0e32ced |
line wrap: on
line diff
--- a/Python/import.c Sat Jan 09 18:50:50 2010 +0000 +++ b/Python/import.c Sat Jan 09 23:35:54 2010 +0000 @@ -75,9 +75,10 @@ Python 2.7a0: 62181 (optimize conditional branches: introduce POP_JUMP_IF_FALSE and POP_JUMP_IF_TRUE) Python 2.7a0 62191 (introduce SETUP_WITH) + Python 2.7a0 62201 (introduce BUILD_SET) . */ -#define MAGIC (62191 | ((long)'\r'<<16) | ((long)'\n'<<24)) +#define MAGIC (62201 | ((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
