158 Commits (aaa83cdfab6817446285e631232f64b394ac6791)

Author SHA1 Message Date
Mark Shannon a86f7dae0a
bpo-44626: Merge basic blocks earlier to enable better handling of exit blocks without line numbers (GH-27138) 5 years ago
Gabriele N. Tornetta 2f180ce2cb
bpo-44530: Add co_qualname field to PyCodeObject (GH-26941) 5 years ago
Pablo Galindo 98eee94421
bpo-43950: Add code.co_positions (PEP 657) (GH-26955) 5 years ago
Batuhan Taskaya 0d7f61ddb0
bpo-44313: bump up magic (#26983) 5 years ago
Batuhan Taskaya 1b28187a0e
bpo-44313: generate LOAD_ATTR/CALL_FUNCTION for top-level imported objects (GH-26677) 5 years ago
Mark Shannon 18ba1ff6a4
Make sure that line number is set correctly for call to __exit__ when handling exception in body of a with statement. (GH-26890) 5 years ago
Guido van Rossum 769d7d0c66
bpo-43693 Get rid of CO_NOFREE -- it's unused (GH-26839) 5 years ago
Guido van Rossum 355f5dd36a
bpo-43693: Turn localspluskinds into an object (GH-26749) 5 years ago
Mark Shannon 82e5c28af7
bpo-44297: Fix missing line number in generator expressions (GH-26801) 5 years ago
Eric Snow ac38a9f2df
bpo-43693: Eliminate unused "fast locals". (gh-26587) 5 years ago
Binbin 17b16e13bb
Fix typos in multiple files (GH-26689) 5 years ago
Eric Snow 3e1c7167d8
bpo-43693: Un-revert commit f3fa63e. (#26609) 5 years ago
Pablo Galindo 3fe921cd49
Revert "bpo-43693: Add the MAKE_CELL opcode and interleave fast locals offsets. (gh-26396)" (GH-26597) 5 years ago
Eric Snow 631f9938b1
bpo-43693: Add the MAKE_CELL opcode and interleave fast locals offsets. (gh-26396) 5 years ago
Eric Snow 2ab27c4af4
bpo-43693: Un-revert commits 2c1e258 and b2bf2bc. (gh-26577) 5 years ago
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