285 Commits (d41bdddbede45890e4effb1bbea6a346ff706695)

Author SHA1 Message Date
Brett Cannon 9cb31d6716
bpo-42137: have ModuleType.__repr__ prefer __spec__ over module_repr() (GH-24953) 5 years ago
Mark Shannon d48848c83e
bpo-39316: Make sure that attribute accesses and stores, including method calls, conform to PEP 626. (GH-24859) 5 years ago
Inada Naoki bdb941be42
bpo-42217: compiler: merge same co_code and co_linetable objects (GH-23056) 5 years ago
Mark Shannon 3bd6035b6b
bpo-42908: Mark cleanup code at end of try-except and with artificial (#24202) 5 years ago
Mark Shannon 127dde5916
bpo-42810: Mark jumps at end of if and try statements as artificial. (GH-24091) 5 years ago
Mark Shannon 28b75c80dc
bpo-42246: Don't eliminate jumps to jumps, if it will break PEP 626. (GH-23896) 5 years ago
Mark Shannon f2dbfd7e20
bpo-42634: Mark reraise after except blocks as artificial. (GH-23877) 5 years ago
Mark Shannon bf353f3c2d
bpo-42246: Make sure that `f_lasti`, and thus `f_lineno`, is set correctly after raising or reraising an exception (GH-23803) 5 years ago
Mark Shannon 5274b682bc
bpo-42645: Make sure that return/break/continue are only traced once when exiting via a finally block. (GH-23780) 5 years ago
Om G c71581c7a4
bpo-42615: Delete redundant jump instructions that only bypass empty blocks (GH-23733) 5 years ago
Mark Shannon 8473cf89bd
bpo-42246: Remove DO_NOT_EMIT_BYTECODE macros, so that while loops and if statements conform to PEP 626. (GH-23743) 5 years ago
Mark Shannon f5e97b72fe
bpo-42635: Mark JUMP_ABSOLUTE at end of 'for' loop as artificial to avoid spurious line events. (GH-23761) 5 years ago
Mark Shannon 56aa20f9eb
Don't generate spurious line number in try-except-finally. (#23760) 5 years ago
Brett Cannon 2de5097ba4
bpo-26131: Deprecate usage of load_module() (GH-23469) 5 years ago
Mark Shannon eaccc12aa9
bpo-42246: Don't forget the entry block when ensuring that all exits have a line number (GH-23636) 5 years ago
Mark Shannon 5977a7989d
bpo-42246: Make sure that line number is correct after a return, as required by PEP 626 (GH-23495) 5 years ago
Victor Stinner 3be8e220ed
bpo-42403: Use @staticmethod in importlib (GH-23395) 5 years ago
Victor Stinner 3390347aa0
bpo-42403: Simplify importlib external bootstrap (GH-23397) 5 years ago
Mark Shannon 266b462238
bpo-42349: Compiler clean up. More yak-shaving for PEP 626. (GH-23267) 5 years ago
Mark Shannon cc75ab791d
bpo-42246: Eliminate jumps to exit blocks by copying those blocks. (#23251) 5 years ago
Mark Shannon 877df851c3
bpo-42246: Partial implementation of PEP 626. (GH-23113) 5 years ago
Mark Shannon 6e8128f02e
bpo-41323: Perform 'peephole' optimizations directly on the CFG. (GH-21517) 6 years ago
Lysandros Nikolaou 1f0f4abb11
bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054) 6 years ago
Pablo Galindo c5fc156852
bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503) 6 years ago
Serhiy Storchaka 61cb3d02b8
bpo-39987: Simplify setting lineno in the compiler. (GH-19037) 6 years ago
Armin Rigo 6daa37fd42
bpo-38091: Import deadlock detection causes deadlock (GH-17518) 6 years ago
Mark Shannon 8a4cd700a7
bpo-39320: Handle unpacking of **values in compiler (GH-18141) 6 years ago
Dino Viehland 9b6fec4651
bpo-39336: Allow packages to not let their child modules be set on them (#18006) 6 years ago
Mark Shannon 9af0e47b17
bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. (GH-17754) 6 years ago
Mark Shannon 88dce26da6
Fix handling of line numbers around finally-blocks. (#17737) 6 years ago
Mark Shannon fee552669f
Produce cleaner bytecode for 'with' and 'async with' by generating separate code for normal and exceptional paths. (#6641) 6 years ago
Dong-hee Na 145cf1f50c bpo-35923: Update the BuiltinImporter to use loader._ORIGIN instead of a hard-coded value (GH-15651) 6 years ago
Zackery Spytz ce6a070414 bpo-34880: Add the LOAD_ASSERTION_ERROR opcode. (GH-15073) 6 years ago
Serhiy Storchaka ef61c524dd
bpo-37830: Fix compilation of break and continue in finally. (GH-15320) 6 years ago
Serhiy Storchaka 662db125cd
bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952) 7 years ago
Ngalim Siregar c5fa44944e bpo-37444: Update differing exception between builtins and importlib (GH-14869) 7 years ago
Pablo Galindo 3498c642f4
bpo-37213: Handle negative line deltas correctly in the peephole optimizer (GH-13969) 7 years ago
Victor Stinner ef9d9b6312
bpo-36829: Add sys.unraisablehook() (GH-13187) 7 years ago
Pablo Galindo 8c77b8cb91
bpo-36540: PEP 570 -- Implementation (GH-12701) 7 years ago
Nina Zakharenko 69091cb497 bpo-35321: Set the spec origin to frozen in frozen modules (#11732) 7 years ago
Anthony Sottile 995d9b9297 bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021) 7 years ago
INADA Naoki c2e1607a51 bpo-34100: Merge constants recursively (GH-8341) 7 years ago
Serhiy Storchaka 95b6acf951
bpo-34876: Change the lineno of the AST for decorated function and class. (GH-9731) 7 years ago
Serhiy Storchaka c93c58b5d5
bpo-33331: Clean modules in the reversed order in PyImport_Cleanup(). (GH-6565) 7 years ago
Serhiy Storchaka 79d1c2e6c9
bpo-25711: Rewrite zipimport in pure Python. (GH-6809) 7 years ago
Serhiy Storchaka da8d72c953
bpo-12458: Fix line numbers for multiline expressions. (GH-8774) 7 years ago
Serhiy Storchaka 73cbe7a01a
bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197) 8 years ago
Zackery Spytz f303639e3a bpo-33270: Intern names for all anonymous code objects (#6472) 8 years ago
Serhiy Storchaka 4e2442505c
bpo-32946: Speed up "from ... import ..." from non-packages. (GH-5873) 8 years ago
Serhiy Storchaka 520b7ae27e
bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006) 8 years ago