Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-94485: Set line number of module's RESUME instruction to 0, as specified ↵ | Irit Katriel | 2022-07-05 | 1 | -1/+2 | |
| | | | | | by PEP 626 (GH-94552) Co-authored-by: Mark Shannon <mark@hotpy.org> | |||||
* | gh-93963: Officially deprecate abcs and warn about their usage. (GH-93965) | Jason R. Coombs | 2022-07-03 | 1 | -5/+14 | |
| | | | | | Fixes #93963 Automerge-Triggered-By: GH:jaraco | |||||
* | GH-94163: Add BINARY_SLICE and STORE_SLICE instructions. (GH-94168) | Mark Shannon | 2022-06-27 | 1 | -1/+2 | |
| | ||||||
* | gh-93259: Validate arg to ``Distribution.from_name``. (GH-94270) | Jason R. Coombs | 2022-06-26 | 1 | -14/+34 | |
| | | | Syncs with importlib_metadata 4.12.0. | |||||
* | GH-91432: Specialize FOR_ITER (GH-91713) | Dennis Sweeney | 2022-06-21 | 1 | -2/+2 | |
| | | | | | * Adds FOR_ITER_LIST and FOR_ITER_RANGE specializations. * Adds _PyLong_AssignValue() internal function to avoid temporary boxing of ints. | |||||
* | GH-93429: Merge `LOAD_METHOD` back into `LOAD_ATTR` (GH-93430) | Ken Jin | 2022-06-14 | 1 | -1/+2 | |
| | ||||||
* | gh-93353: Fix importlib.resources._tempfile() finalizer (#93377) | Victor Stinner | 2022-06-13 | 1 | -2/+5 | |
| | | | | | Fix the importlib.resources.as_file() context manager to remove the temporary file if destroyed late during Python finalization: keep a local reference to the os.remove() function. Patch by Victor Stinner. | |||||
* | gh-93461: Invalidate sys.path_importer_cache entries with relative paths ↵ | Christian Heimes | 2022-06-10 | 1 | -4/+9 | |
| | | | | (GH-93653) | |||||
* | Shrink the LOAD_METHOD cache by one codeunit. (#93537) | Mark Shannon | 2022-06-07 | 1 | -1/+2 | |
| | ||||||
* | gh-93143: Avoid NULL check in LOAD_FAST based on analysis in the compiler ↵ | Dennis Sweeney | 2022-05-31 | 1 | -1/+2 | |
| | | | | (GH-93144) | |||||
* | GH-89914: Make the oparg of the YIELD_VALUE instruction equal the stack ↵ | Mark Shannon | 2022-05-19 | 1 | -1/+2 | |
| | | | | depth. (GH-92960) | |||||
* | GH-90690: Remove `PRECALL` instruction (GH-92925) | Mark Shannon | 2022-05-19 | 1 | -3/+5 | |
| | ||||||
* | gh-91869: Fix tracing of specialized instructions with extended args (GH-91945) | Dennis Sweeney | 2022-04-28 | 1 | -1/+1 | |
| | ||||||
* | GH-88116: Use a compact format to represent end line and column offsets. ↵ | Mark Shannon | 2022-04-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | (GH-91666) * Stores all location info in linetable to conform to PEP 626. * Remove column table from code objects. * Remove end-line table from code objects. * Document new location table format | |||||
* | gh-91298: Refine traversable (apply changes from importlib_resources 5.7.1) ↵ | Jason R. Coombs | 2022-04-17 | 2 | -15/+39 | |
| | | | | | | | (#91623) * bpo-47142: Refine traversable (apply changes from importlib_resources 5.7.1) * Replace changelog referencing github issue. | |||||
* | gh-91276: Make JUMP_IF_TRUE_OR_POP/JUMP_IF_FALSE_OR_POP relative (GH-32215) | Irit Katriel | 2022-04-15 | 1 | -1/+3 | |
| | ||||||
* | bpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400) | Irit Katriel | 2022-04-11 | 1 | -1/+2 | |
| | ||||||
* | bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221) | Irit Katriel | 2022-04-05 | 1 | -1/+2 | |
| | ||||||
* | bpo-47186: Replace JUMP_IF_NOT_EG_MATCH by CHECK_EG_MATCH + jump (GH-32309) | Irit Katriel | 2022-04-05 | 1 | -1/+2 | |
| | ||||||
* | bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231) | Irit Katriel | 2022-04-01 | 1 | -1/+2 | |
| | ||||||
* | bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD ↵ | Irit Katriel | 2022-03-31 | 1 | -1/+2 | |
| | | | | (GH-32115) | |||||
* | Use low bit of LOAD_GLOBAL's oparg to indicate whether it should push an ↵ | Mark Shannon | 2022-03-17 | 1 | -1/+2 | |
| | | | | additional NULL. (GH-31933) | |||||
* | bpo-47004: Sync with importlib_metadata 4.11.3. (#31854) | Jason R. Coombs | 2022-03-13 | 1 | -18/+39 | |
| | ||||||
* | bpo-46841: Don't use an oparg counter for `STORE_SUBSCR` (GH-31742) | Brandt Bucher | 2022-03-08 | 1 | -1/+2 | |
| | ||||||
* | bpo-46841: Use inline caching for calls (GH-31709) | Brandt Bucher | 2022-03-07 | 1 | -1/+2 | |
| | ||||||
* | Remove trailing spaces (GH-31695) | Serhiy Storchaka | 2022-03-05 | 1 | -1/+1 | |
| | ||||||
* | bpo-46841: Fix error message hacks in `GET_AWAITABLE` (GH-31664) | Brandt Bucher | 2022-03-04 | 1 | -1/+2 | |
| | ||||||
* | bpo-46841: Use inline caching for attribute accesses (GH-31640) | Brandt Bucher | 2022-03-03 | 1 | -1/+3 | |
| | ||||||
* | bpo-46841: Use inline cache for `BINARY_SUBSCR`. (GH-31618) | Mark Shannon | 2022-03-01 | 1 | -1/+1 | |
| | ||||||
* | bpo-46841: Use inline caching for `COMPARE_OP` (GH-31622) | Brandt Bucher | 2022-03-01 | 1 | -1/+2 | |
| | ||||||
* | bpo-46841: Move the cache for `LOAD_GLOBAL` inline. (GH-31575) | Mark Shannon | 2022-02-28 | 1 | -2/+2 | |
| | ||||||
* | bpo-46841: Use inline caching for `UNPACK_SEQUENCE` (GH-31591) | Brandt Bucher | 2022-02-28 | 1 | -1/+2 | |
| | ||||||
* | bpo-46841: Use *inline* caching for `BINARY_OP` (GH-31543) | Brandt Bucher | 2022-02-25 | 1 | -4/+2 | |
| | ||||||
* | bpo-46329: Streamline calling sequence a bit. (GH-31465) | Mark Shannon | 2022-02-21 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | * Move handling of bound-methods to PRECALL. * Remove call_shape.postcall_shrink * Remove call_shape.callable * Remove call_shape.callable. Change CALL oparg to match PRECALL oparg. * Move KW_NAMES before PRECALL. * Update opcode docs in dis.rst | |||||
* | bpo-46329: Change calling sequence (again) (GH-31373) | Mark Shannon | 2022-02-18 | 1 | -1/+2 | |
| | | | | * Change calling sequence: Add PUSH_NULL. Merge PRECALL_FUNCTION and PRECALL_METHOD into PRECALL. | |||||
* | bpo-46246: add missing __slots__ to importlib.metadata.DeprecatedList (GH-30452) | Arie Bovenberg | 2022-02-11 | 1 | -0/+2 | |
| | | | | | | | Confirmed with @jaraco that this indeed needs a fix. A question that came up while I was digging into the code: I think `SelectableGroups` could similarly use `__slots__ = ()`, since its purpose seems only for convenience around `dict`, not to have attributes of its own. Automerge-Triggered-By: GH:jaraco | |||||
* | bpo-46329: Split calls into precall and call instructions. (GH-30855) | Mark Shannon | 2022-01-28 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | * Add PRECALL_FUNCTION opcode. * Move 'call shape' varaibles into struct. * Replace CALL_NO_KW and CALL_KW with KW_NAMES and CALL instructions. * Specialize for builtin methods taking using the METH_FASTCALL | METH_KEYWORDS protocol. * Allow kwnames for specialized calls to builtin types. * Specialize calls to tuple(arg) and str(arg). | |||||
* | bpo-46528: Simplify the VM's stack manipulations (GH-30902) | Brandt Bucher | 2022-01-26 | 1 | -1/+3 | |
| | ||||||
* | bpo-43683: Streamline YIELD_VALUE and SEND (GH-30723) | Mark Shannon | 2022-01-24 | 1 | -1/+2 | |
| | | | | | | | | * Split YIELD_VALUE into ASYNC_GEN_WRAP; YIELD_VALUE for async generators. * Split SEND into SEND; YIELD_VALUE. * Document new opcodes. | |||||
* | bpo-46474: Avoid REDoS in EntryPoint.pattern (sync with importlib_metadata ↵ | Jason R. Coombs | 2022-01-23 | 1 | -2/+2 | |
| | | | | 4.10.1) (GH-30803) | |||||
* | bpo-46474: Apply changes from importlib_metadata 4.10.0 (GH-30802) | Jason R. Coombs | 2022-01-23 | 1 | -12/+0 | |
| | ||||||
* | bpo-46409: Make generators in bytecode (GH-30633) | Mark Shannon | 2022-01-20 | 1 | -1/+2 | |
| | | | | | | | | | | | | * Add RETURN_GENERATOR and JUMP_NO_INTERRUPT opcodes. * Trim frame and generator by word each. * Minor refactor of frame.c * Update test.test_sys to account for smaller frames. * Treat generator functions as normal functions when evaluating and specializing. | |||||
* | bpo-45923: Handle call events in bytecode (GH-30364) | Mark Shannon | 2022-01-06 | 1 | -1/+6 | |
| | | | | * Add a RESUME instruction to handle "call" events. | |||||
* | bpo-46031: add POP_JUMP_IF_NOT_NONE and POP_JUMP_IF_NONE (GH-30019) | penguin_wwy | 2022-01-06 | 1 | -1/+2 | |
| | ||||||
* | bpo-46009: Remove GEN_START (GH-30367) | Brandt Bucher | 2022-01-04 | 1 | -1/+2 | |
| | ||||||
* | bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302) | Irit Katriel | 2022-01-04 | 1 | -1/+2 | |
| | | | | | | * bpo-46202: remove opcode POP_EXCEPT_AND_RERAISE * do not assume that an exception group is truthy | |||||
* | bpo-46219, 46221: simplify except* implementation following exc_info ↵ | Irit Katriel | 2022-01-02 | 1 | -1/+2 | |
| | | | | changes. Move helpers to exceptions.c. Do not assume that exception groups are truthy. (GH-30289) | |||||
* | bpo-46118: Move importlib.resources to its own package. (#30176) | Jason R. Coombs | 2021-12-31 | 11 | -367/+407 | |
| | | | | | * bpo-46118: Move importlib.resources to its own package. * Expand compatibility shims with documentation and explicit imports. | |||||
* | bpo-46125: Refactor tests to test traversable API directly. Includes changes ↵ | Jason R. Coombs | 2021-12-19 | 4 | -24/+23 | |
| | | | | from importlib_resources 5.4.0. (GH-30189) | |||||
* | bpo-45711: Remove type and traceback from exc_info (GH-30122) | Irit Katriel | 2021-12-17 | 1 | -2/+3 | |
| | | | | | | | | * Do not PUSH/POP traceback or type to the stack as part of exc_info * Remove exc_traceback and exc_type from _PyErr_StackItem * Add to what's new, because this change breaks things like Cython |