Mercurial > cpython-lru_cache-weakref
comparison Python/import.c @ 58250:edfed0e32ced legacy-trunk
Issue #2333: Backport set and dict comprehensions syntax.
| author | Alexandre Vassalotti <alexandre@peadrop.com> |
|---|---|
| date | Mon, 11 Jan 2010 22:36:12 +0000 |
| parents | c2fdf25329ff |
| children | 4afc50d15544 |
comparison
equal
deleted
inserted
replaced
| 58249:33e402909cf2 | 58250:edfed0e32ced |
|---|---|
| 74 Python 2.7a0: 62171 (optimize list comprehensions/change LIST_APPEND) | 74 Python 2.7a0: 62171 (optimize list comprehensions/change LIST_APPEND) |
| 75 Python 2.7a0: 62181 (optimize conditional branches: | 75 Python 2.7a0: 62181 (optimize conditional branches: |
| 76 introduce POP_JUMP_IF_FALSE and POP_JUMP_IF_TRUE) | 76 introduce POP_JUMP_IF_FALSE and POP_JUMP_IF_TRUE) |
| 77 Python 2.7a0 62191 (introduce SETUP_WITH) | 77 Python 2.7a0 62191 (introduce SETUP_WITH) |
| 78 Python 2.7a0 62201 (introduce BUILD_SET) | 78 Python 2.7a0 62201 (introduce BUILD_SET) |
| 79 Python 2.7a0 62211 (introduce MAP_ADD and SET_ADD) | |
| 79 . | 80 . |
| 80 */ | 81 */ |
| 81 #define MAGIC (62201 | ((long)'\r'<<16) | ((long)'\n'<<24)) | 82 #define MAGIC (62211 | ((long)'\r'<<16) | ((long)'\n'<<24)) |
| 82 | 83 |
| 83 /* Magic word as global; note that _PyImport_Init() can change the | 84 /* Magic word as global; note that _PyImport_Init() can change the |
| 84 value of this global to accommodate for alterations of how the | 85 value of this global to accommodate for alterations of how the |
| 85 compiler works which are enabled by command line switches. */ | 86 compiler works which are enabled by command line switches. */ |
| 86 static long pyc_magic = MAGIC; | 87 static long pyc_magic = MAGIC; |
