Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 440282b

Browse files
committed
copy 2.7 magic numbers for historical interest
1 parent f516388 commit 440282b

2 files changed

Lines changed: 3164 additions & 4092 deletions

File tree

Lib/importlib/_bootstrap.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,12 @@ def _call_with_frames_removed(f, *args, **kwds):
351351
Python 2.5c2: 62131 (fix wrong code: for x, in ... in listcomp/genexp)
352352
Python 2.6a0: 62151 (peephole optimizations and STORE_MAP opcode)
353353
Python 2.6a1: 62161 (WITH_CLEANUP optimization)
354+
Python 2.7a0: 62171 (optimize list comprehensions/change LIST_APPEND)
355+
Python 2.7a0: 62181 (optimize conditional branches:
356+
introduce POP_JUMP_IF_FALSE and POP_JUMP_IF_TRUE)
357+
Python 2.7a0 62191 (introduce SETUP_WITH)
358+
Python 2.7a0 62201 (introduce BUILD_SET)
359+
Python 2.7a0 62211 (introduce MAP_ADD and SET_ADD)
354360
Python 3000: 3000
355361
3010 (removed UNARY_CONVERT)
356362
3020 (added BUILD_SET)

0 commit comments

Comments
 (0)