816 Commits (eaede0ded72e67cee4a91c086847d54cb64ca74c)

Author SHA1 Message Date
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
Batuhan Taskaya b2ec37a722
bpo-44063: set the missing end locations on the compiler (GH-25956) 5 years ago
Mark Shannon adcd220556
bpo-40222: "Zero cost" exception handling (GH-25729) 5 years ago
Pablo Galindo 39494285e1
bpo-43754: Fix compiler warning in Python/compile.c (GH-25855) 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
Brandt Bucher dbe60ee09d
bpo-43892: Validate the first term of complex literal value patterns (GH-25735) 5 years ago
Mark Shannon c76da79b37
bpo-42739: Don't use sentinels to mark end of line table. (GH-25657) 5 years ago
Nick Coghlan 1e7b858575
bpo-43892: Make match patterns explicit in the AST (GH-25585) 5 years ago
Batuhan Taskaya 8cc3cfa8af
bpo-42737: annotations with complex targets no longer causes any runtime effects (GH-23952) 5 years ago
Pablo Galindo a77aac4fca
bpo-43914: Highlight invalid ranges in SyntaxErrors (#25525) 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
Mark Shannon 11e0b295de
bpo-43846: Use less stack for large literals and calls (GH-25403) 5 years ago
tomKPZ 7a7ba3d343
bpo-43495 : Push missing frame block in compile.c (GH-24865) 5 years ago
Mark Shannon 67969f5eb8
Correct micro release number and add a couple of asserts. (GH-25224) 5 years ago
Mark Shannon b37181e692
bpo-43683: Handle generator entry in bytecode (GH-25138) 5 years ago
Mark Shannon fcb55c0037
bpo-27129: Use instruction offsets, not byte offsets, in bytecode and internally. (GH-25069) 5 years ago
Victor Stinner a81fca6ec8
bpo-43244: Add pycore_compile.h header file (GH-25000) 5 years ago
Victor Stinner 28ad12f8fe
bpo-43244: Remove symtable.h header file (GH-24910) 5 years ago
Victor Stinner 526fdeb227
bpo-43244: Add pycore_ast.h header file (GH-24908) 5 years ago
tsukasa-au a8ef4572a6
bpo-43497: Emit SyntaxWarnings for assertions with tuple constants. (GH-24867) 5 years ago
Mark Shannon c5440937ef
Mark POP_TOP at end of expression statement as artificial, to conform to PEP 626. (GH-24860) 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
Ikko Ashimine 57827f8754
Fix typo in compile.c (GH-24812) 5 years ago
Alex Henrie 503627fc2a
bpo-43358: Fix bad free in assemble function (GH-24697) 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 802b645e81
Only eliminate jumps to successor block if jump is unconditional. (GH-24417) 5 years ago
Pablo Galindo 86e322f141
bpo-40455: Fix gcc10+ warning about writing into a section of offset 0 (GH-24384) 5 years ago
Victor Stinner ba7a99ddb5
bpo-38631: Replace compiler fatal errors with exceptions (GH-24369) 5 years ago
Pablo Galindo 7fdab8331b
Fix a reference leak in the compiler for compiler_lambda() (GH-24382) 5 years ago
Victor Stinner a6192635f1
bpo-42979: Use _Py_CheckSlotResult() to check slots result (GH-24356) 5 years ago
Irit Katriel dea5bf9d15
bpo-33387: update documentation for exception handling opcode changes (GH-24334) 5 years ago
Mark Shannon e56d54e447
Mark instructions at end of class scope as artificial. (GH-24222) 5 years ago
Mark Shannon 1659ad1c64
Eliminate NOPs in extended blocks. (GH-24209) 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 bf06b209da
Delete the now unused c_do_not_emit_bytecode field. (#24094) 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
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