143 Commits (17c4edc4e0692fe55e185755ea8a2f5238f3ef08)

Author SHA1 Message Date
Pablo Galindo 17c4edc4e0
bpo-43693: Revert commits 2c1e2583fd and b2bf2bc1ec (GH-26530) 5 years ago
Mark Shannon b2bf2bc1ec
bpo-43693: Compute deref offsets in compiler (gh-25152) 5 years ago
Eric Snow 2c1e2583fd
bpo-43693: Add new internal code objects fields: co_fastlocalnames and co_fastlocalkinds. (gh-26388) 5 years ago
Mark Shannon 937cebc93b
bpo-44298: Fix line numbers for early exits in with statements. (GH-26513) 5 years ago
Eric Snow 9f494d4929
bpo-43693: Add _PyCode_New(). (gh-26375) 5 years ago
Ken Jin f24afda591
bpo-26110: Add ``CALL_METHOD_KW`` opcode to speedup method calls with keywords (GH-26014) 5 years ago
Mark Shannon cb6f3d7163
bpo-43933: Force RETURN_VALUE bytecodes to have line numbers (GH-26054) 5 years ago
Serhiy Storchaka a0bd9e9c11
bpo-28307: Convert simple C-style formatting with literal format into f-string. (GH-5012) 5 years ago
Mark Shannon adcd220556
bpo-40222: "Zero cost" exception handling (GH-25729) 5 years ago
Brandt Bucher 0ad1e0384c
bpo-43754: Eliminate bindings for partial pattern matches (GH-25229) 5 years ago
Mark Shannon 5979e81a21
bpo-43933: Set frame.f_lineno during call to __exit__ (GH-25719) 5 years ago
Mark Shannon c76da79b37
bpo-42739: Don't use sentinels to mark end of line table. (GH-25657) 5 years ago
Pablo Galindo b0544ba77c
bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 5 years ago
Inada Naoki 8a232c7b17
bpo-41323: compiler: Reuse tuple in constant tuple folding (GH-25419) 5 years ago
Steve Dower 04732ca993
bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121) 5 years ago
Dennis Sweeney 50616223d1
bump the bytecode magic number (GH-25225) 5 years ago
Brett Cannon 57c6cb5100
bpo-42135: Deprecate implementations of find_module() and find_loader() (GH-25169) 5 years ago
Mark Shannon b37181e692
bpo-43683: Handle generator entry in bytecode (GH-25138) 5 years ago
Dennis Sweeney c368ce74d2
bpo-27129: Update magic numbers and bootstrapping for GH-25069 (GH-25172) 5 years ago
Brett Cannon f97dc80068
bpo-43672: raise ImportWarning when calling find_loader() (GH-25119) 5 years ago
Mark Shannon fcb55c0037
bpo-27129: Use instruction offsets, not byte offsets, in bytecode and internally. (GH-25069) 5 years ago
Brett Cannon a7ff6df60c
bpo-42134: Raise ImportWarning when calling find_module() in the import system (GH-25044) 5 years ago
Brett Cannon 1899087b21
bpo-42136: Deprecate module_repr() as found in importlib (GH-25022) 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
Jason R. Coombs 6714825414
bpo-42129: Add support for resources in namespaces (GH-24670) 5 years ago
Brandt Bucher 145bf269df
bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917) 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 ee9f98d9f4
bpo-42823: Fix frame lineno when frame.f_trace is set (GH-24099) 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 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
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
Yurii Karabas 7301979b23
bpo-42202: Store func annotations as a tuple (GH-23316) 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 c6409156c4
Bump magic number. (GH-23245) 5 years ago
Mark Shannon 877df851c3
bpo-42246: Partial implementation of PEP 626. (GH-23113) 5 years ago
Batuhan Taskaya 22220ae216
bpo-38605: bump the magic number for 'annotations' future (#22630) 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
Jason R. Coombs 843c277656
bpo-39791 native hooks for importlib.resources.files (GH-20576) 6 years ago
Pablo Galindo c5fc156852
bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503) 6 years ago