129 Commits (28d28e053db6b69d91c2dfd579207cd8ccbc39e7)

Author SHA1 Message Date
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
Victor Stinner 83d46e0622
bpo-40050: Fix importlib._bootstrap_external (GH-19135) 6 years ago
Serhiy Storchaka 61cb3d02b8
bpo-39987: Simplify setting lineno in the compiler. (GH-19037) 6 years ago
idomic fc72ab6913
bpo-38691: importlib ignores PYTHONCASEOK if -E is used (GH-18627) 6 years ago
Victor Stinner 4dee92b0ad
Revert "bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags passed (#18314)" (GH-18553) 6 years ago
idomic d83b6600b2
bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags passed (#18314) 6 years ago
Mark Shannon 8a4cd700a7
bpo-39320: Handle unpacking of **values in compiler (GH-18141) 6 years ago
Mark Shannon 13bc13960c
bpo-39320: Handle unpacking of *values in compiler (GH-17984) 6 years ago
Mark Shannon 9af0e47b17
bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. (GH-17754) 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
Jason R. Coombs 8ed6503eca bpo-38121: Sync importlib.metadata with 0.22 backport (GH-15993) 6 years ago
Jason R. Coombs 17499d8270 bpo-38086: Sync importlib.metadata with importlib_metadata 0.21. (GH-15840) 6 years ago
Zackery Spytz ce6a070414 bpo-34880: Add the LOAD_ASSERTION_ERROR opcode. (GH-15073) 7 years ago
Serhiy Storchaka ef61c524dd
bpo-37830: Fix compilation of break and continue in finally. (GH-15320) 7 years ago
Jason R. Coombs 049460da9c
bpo-37697: Sync with importlib_metadata 0.19 (#14993) 7 years ago