[Python-checkins] GH-118093: Make `CALL_ALLOC_AND_ENTER_INIT` suitable for tier 2. (GH-123140)

2024-08-20 Thread markshannon
https://github.com/python/cpython/commit/bb1d30336e83837d4191a016107fd501cd230328 commit: bb1d30336e83837d4191a016107fd501cd230328 branch: main author: Mark Shannon committer: markshannon date: 2024-08-20T16:52:58+01:00 summary: GH-118093: Make `CALL_ALLOC_AND_ENTER_INIT` suitable for tier 2

[Python-checkins] GH-123185: Check for `NULL` after calling `_PyEvalFramePushAndInit` (GH-123194)

2024-08-21 Thread markshannon
https://github.com/python/cpython/commit/1eba8bae9223600677dfa3a4ce8b7e4d2b8fd00d commit: 1eba8bae9223600677dfa3a4ce8b7e4d2b8fd00d branch: main author: Mark Shannon committer: markshannon date: 2024-08-21T12:44:56+01:00 summary: GH-123185: Check for `NULL` after calling `_PyEvalFramePushAndInit

[Python-checkins] GH-123197: Increment correct stat for CALL_KW (GH-123200)

2024-08-21 Thread markshannon
https://github.com/python/cpython/commit/7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb commit: 7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb branch: main author: Mark Shannon committer: markshannon date: 2024-08-21T12:52:28+01:00 summary: GH-123197: Increment correct stat for CALL_KW (GH-123200) files

[Python-checkins] [3.13] gh-122712: Guard against __code__ reassignment in CALL_ALLOC_AND_ENTER_INIT (GH-122713) (GH-123184)

2024-08-21 Thread markshannon
https://github.com/python/cpython/commit/50a595b37fe3201cd07701ffdda9d6baa6163562 commit: 50a595b37fe3201cd07701ffdda9d6baa6163562 branch: 3.13 author: mpage committer: markshannon date: 2024-08-21T13:16:30+01:00 summary: [3.13] gh-122712: Guard against __code__ reassignment in

[Python-checkins] GH-115776: Allow any fixed sized object to have inline values (GH-123192)

2024-08-21 Thread markshannon
https://github.com/python/cpython/commit/a4fd7aa4a6420cef1c22ec64eab54d8aea41cc57 commit: a4fd7aa4a6420cef1c22ec64eab54d8aea41cc57 branch: main author: Mark Shannon committer: markshannon date: 2024-08-21T15:52:04+01:00 summary: GH-115776: Allow any fixed sized object to have inline values (GH

[Python-checkins] gh-122712: Test `CALL_ALLOC_AND_ENTER_INIT` handles reassignment of `__code__` (GH-122713)

2024-08-22 Thread markshannon
https://github.com/python/cpython/commit/79ddf7571016a04f0e1d5f416ece2d45c4440b1b commit: 79ddf7571016a04f0e1d5f416ece2d45c4440b1b branch: main author: mpage committer: markshannon date: 2024-08-22T08:38:04+01:00 summary: gh-122712: Test `CALL_ALLOC_AND_ENTER_INIT` handles reassignment of

[Python-checkins] GH-118093: Specialize calls to non-vectorcall classes as `CALL_NON_PY_GENERAL` (GH-123212)

2024-08-22 Thread markshannon
https://github.com/python/cpython/commit/427b106162c7467de8a84476a053dfba9ef16dfa commit: 427b106162c7467de8a84476a053dfba9ef16dfa branch: main author: Brandt Bucher committer: markshannon date: 2024-08-22T11:50:55+01:00 summary: GH-118093: Specialize calls to non-vectorcall classes as

[Python-checkins] GH-123197: Only count an instruction as deferred if it hasn't deopted first. (GH-123222)

2024-08-22 Thread markshannon
https://github.com/python/cpython/commit/a3d8c0542ea093c0e3e12b2839371cfc07463376 commit: a3d8c0542ea093c0e3e12b2839371cfc07463376 branch: main author: Mark Shannon committer: markshannon date: 2024-08-22T14:17:10+01:00 summary: GH-123197: Only count an instruction as deferred if it hasn&#

[Python-checkins] GH-123040: Specialize shadowed `LOAD_ATTR`. (GH-123219)

2024-08-23 Thread markshannon
https://github.com/python/cpython/commit/5d3201fe3f76aeba33e9e5956ba80a116e422bd0 commit: 5d3201fe3f76aeba33e9e5956ba80a116e422bd0 branch: main author: Mark Shannon committer: markshannon date: 2024-08-23T10:22:35+01:00 summary: GH-123040: Specialize shadowed `LOAD_ATTR`. (GH-123219) files: M

[Python-checkins] [3.13] GH-120097: Make FrameLocalsProxy a mapping (GH-120101) (GH-120749)

2024-08-23 Thread markshannon
https://github.com/python/cpython/commit/95b4f9c9ad3d7a13442a6874bbcf3683d17723dc commit: 95b4f9c9ad3d7a13442a6874bbcf3683d17723dc branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: markshannon date: 2024-08-23T10:26:03+01:00 summary:

[Python-checkins] GH-123232: Fix "not specialized" stats (GH-123236)

2024-08-23 Thread markshannon
https://github.com/python/cpython/commit/0b0f7befaddb2b5eff2811398a0f0d4604a82a90 commit: 0b0f7befaddb2b5eff2811398a0f0d4604a82a90 branch: main author: Mark Shannon committer: markshannon date: 2024-08-23T10:46:03+01:00 summary: GH-123232: Fix "not specialized" stats (GH-123236)

[Python-checkins] GH-122298: Restore printing of GC stats (GH-123261)

2024-08-23 Thread markshannon
https://github.com/python/cpython/commit/7cd3aa42f0cf72bf9a214e2630850879fe078377 commit: 7cd3aa42f0cf72bf9a214e2630850879fe078377 branch: main author: Mark Shannon committer: markshannon date: 2024-08-23T16:39:08+01:00 summary: GH-122298: Restore printing of GC stats (GH-123261) files: A

[Python-checkins] GH-115775: Use `__static_attributes__` to initialize shared keys (GH-118468)

2024-08-27 Thread markshannon
https://github.com/python/cpython/commit/89328f7b129a6e4d7164f954b976bf45da69f0b2 commit: 89328f7b129a6e4d7164f954b976bf45da69f0b2 branch: main author: Mark Shannon committer: markshannon date: 2024-08-27T10:34:46+01:00 summary: GH-115775: Use `__static_attributes__` to initialize shared keys

[Python-checkins] GH-123232: Factor BINARY_SLICE and STORE_SLICE to handle stats properly for tier 2. (GH-123381)

2024-08-27 Thread markshannon
https://github.com/python/cpython/commit/54a05a46002ee1c9211f299df38f444f16866ef5 commit: 54a05a46002ee1c9211f299df38f444f16866ef5 branch: main author: Mark Shannon committer: markshannon date: 2024-08-27T10:49:39+01:00 summary: GH-123232: Factor BINARY_SLICE and STORE_SLICE to handle stats

[Python-checkins] GH-117759: Document incremental GC (GH-123266)

2024-08-27 Thread markshannon
https://github.com/python/cpython/commit/f49a91648aac2ad55b2e005ba28fac1c7edca020 commit: f49a91648aac2ad55b2e005ba28fac1c7edca020 branch: main author: Mark Shannon committer: markshannon date: 2024-08-27T15:23:39+01:00 summary: GH-117759: Document incremental GC (GH-123266) * Update what&#

[Python-checkins] GH-123996: Explicitly mark 'self_or_null' as an array of size 1 to ensure that it is kept in memory for calls (GH-124003)

2024-09-12 Thread markshannon
https://github.com/python/cpython/commit/4ed7d1d6acc22807bfb5983c98fd59f7cb5061db commit: 4ed7d1d6acc22807bfb5983c98fd59f7cb5061db branch: main author: Mark Shannon committer: markshannon date: 2024-09-12T15:32:45+01:00 summary: GH-123996: Explicitly mark 'self_or_null' as an array of

[Python-checkins] GH-120619: Clean up `RETURN_VALUE` instruction (GH-120624)

2024-06-17 Thread markshannon
https://github.com/python/cpython/commit/274f844830898355f14d6edb6e71894a2f37e53c commit: 274f844830898355f14d6edb6e71894a2f37e53c branch: main author: Mark Shannon committer: markshannon date: 2024-06-17T14:40:11+01:00 summary: GH-120619: Clean up `RETURN_VALUE` instruction (GH-120624

[Python-checkins] GH-120507: Lower the `BEFORE_WITH` and `BEFORE_ASYNC_WITH` instructions. (#120640)

2024-06-18 Thread markshannon
https://github.com/python/cpython/commit/9cefcc0ee781a1bef9e0685c2271237005fb488b commit: 9cefcc0ee781a1bef9e0685c2271237005fb488b branch: main author: Mark Shannon committer: markshannon date: 2024-06-18T12:17:46+01:00 summary: GH-120507: Lower the `BEFORE_WITH` and `BEFORE_ASYNC_WITH

[Python-checkins] GH-119462: Enforce invariants of type versioning (GH-120731)

2024-06-19 Thread markshannon
https://github.com/python/cpython/commit/00257c746c447a2e026b5a2a618f0e033fb90111 commit: 00257c746c447a2e026b5a2a618f0e033fb90111 branch: main author: Mark Shannon committer: markshannon date: 2024-06-19T17:38:45+01:00 summary: GH-119462: Enforce invariants of type versioning (GH-120731

[Python-checkins] GH-120097: Make FrameLocalsProxy a mapping (#120101)

2024-06-19 Thread markshannon
https://github.com/python/cpython/commit/d1c673b658977a8e6236feee579308e0ed6a0187 commit: d1c673b658977a8e6236feee579308e0ed6a0187 branch: main author: Mark Shannon committer: markshannon date: 2024-06-19T17:54:13+01:00 summary: GH-120097: Make FrameLocalsProxy a mapping (#120101) * Register

[Python-checkins] [3.13] GH-119462: Enforce invariants of type versioning. Backport of GH-120731. (#120748)

2024-06-20 Thread markshannon
https://github.com/python/cpython/commit/b8fd80f91b980598cb378dba224cdb595b132fb4 commit: b8fd80f91b980598cb378dba224cdb595b132fb4 branch: 3.13 author: Mark Shannon committer: markshannon date: 2024-06-20T15:09:32+01:00 summary: [3.13] GH-119462: Enforce invariants of type versioning. Backport

[Python-checkins] GH-120982: Add stack check assertions to generated interpreter code (GH-120992)

2024-06-25 Thread markshannon
https://github.com/python/cpython/commit/8f5a01707f27a015b52b7b55af058f8833f8f7db commit: 8f5a01707f27a015b52b7b55af058f8833f8f7db branch: main author: Mark Shannon committer: markshannon date: 2024-06-25T16:42:29+01:00 summary: GH-120982: Add stack check assertions to generated interpreter

[Python-checkins] GH-121012: Set index to -1 when list iterators become exhausted in tier 2 (GH-121483)

2024-07-08 Thread markshannon
https://github.com/python/cpython/commit/8ad6067bd4556afddc86004f8e350aa672fda217 commit: 8ad6067bd4556afddc86004f8e350aa672fda217 branch: main author: Mark Shannon committer: markshannon date: 2024-07-08T14:20:13+01:00 summary: GH-121012: Set index to -1 when list iterators become exhausted in

[Python-checkins] [3.13] GH-121012: Set index to -1 when list iterators become exhausted in tier 2 (GH-121483) (GH-121494)

2024-07-08 Thread markshannon
https://github.com/python/cpython/commit/2f8919ee3c152d6249a0a0dc14c86c0547bfe4b6 commit: 2f8919ee3c152d6249a0a0dc14c86c0547bfe4b6 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: markshannon date: 2024-07-08T18:09:54+01:00 summary:

[Python-checkins] GH-118926: Better distinguish between pointer and arrays in interpreter generator (GH-121496)

2024-07-09 Thread markshannon
https://github.com/python/cpython/commit/bf8686e1ea389427157c754c5e522ee040f166ad commit: bf8686e1ea389427157c754c5e522ee040f166ad branch: main author: Mark Shannon committer: markshannon date: 2024-07-09T11:33:56+01:00 summary: GH-118926: Better distinguish between pointer and arrays in

[Python-checkins] GH-120024: Use pointer for stack pointer (GH-121923)

2024-07-18 Thread markshannon
https://github.com/python/cpython/commit/169324c27a39a4d6a4dd7b313b0de6ab2d1f7e6b commit: 169324c27a39a4d6a4dd7b313b0de6ab2d1f7e6b branch: main author: Mark Shannon committer: markshannon date: 2024-07-18T12:47:21+01:00 summary: GH-120024: Use pointer for stack pointer (GH-121923) files: M

[Python-checkins] GH-121784: Generate an error during code gen if a variable is marked `unused`, but is used and thus cached in a prior uop. (#121788)

2024-07-18 Thread markshannon
https://github.com/python/cpython/commit/3eacfc1a4d09a9807bedba58ef4037788b6df961 commit: 3eacfc1a4d09a9807bedba58ef4037788b6df961 branch: main author: Mark Shannon committer: markshannon date: 2024-07-18T12:49:24+01:00 summary: GH-121784: Generate an error during code gen if a variable is

[Python-checkins] gh-121832: Skip subinterpreter static type check on iOS to restore test suite. (GH-122150)

2024-07-23 Thread markshannon
https://github.com/python/cpython/commit/1bcc9eb8623c4e9bd8460f22b5ebae4e0cb434e4 commit: 1bcc9eb8623c4e9bd8460f22b5ebae4e0cb434e4 branch: main author: Russell Keith-Magee committer: markshannon date: 2024-07-23T11:17:50+01:00 summary: gh-121832: Skip subinterpreter static type check on iOS to

[Python-checkins] GH-122155: Fix cases generator to correctly compute 'peek' offset for error handling (GH-122158)

2024-07-23 Thread markshannon
https://github.com/python/cpython/commit/624bda76386efd8eecf73c4ad06f997b9b25f07f commit: 624bda76386efd8eecf73c4ad06f997b9b25f07f branch: main author: Mark Shannon committer: markshannon date: 2024-07-23T14:12:06+01:00 summary: GH-122155: Fix cases generator to correctly compute 'peek&#x

[Python-checkins] GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified. (GH-122182)

2024-07-24 Thread markshannon
https://github.com/python/cpython/commit/e55b05f29ee62cd92b6b9990fd699b78f19432ba commit: e55b05f29ee62cd92b6b9990fd699b78f19432ba branch: main author: Mark Shannon committer: markshannon date: 2024-07-24T10:22:51+01:00 summary: GH-121832: Assert that the version number of static builtin types

[Python-checkins] GH-122160: Remove BUILD_CONST_KEY_MAP opcode. (GH-122164)

2024-07-25 Thread markshannon
https://github.com/python/cpython/commit/2e14a52cced9834ed5f7e0665a08055de554360f commit: 2e14a52cced9834ed5f7e0665a08055de554360f branch: main author: Mark Shannon committer: markshannon date: 2024-07-25T16:24:29+01:00 summary: GH-122160: Remove BUILD_CONST_KEY_MAP opcode. (GH-122164) files

[Python-checkins] GH-122034: Add StackRef variants of type checks to reduce the number of PyStackRef_AsPyObjectBorrow calls (GH-122037)

2024-07-25 Thread markshannon
https://github.com/python/cpython/commit/5e686ff57d6bc2fd8c675bd2c59a064be6da2839 commit: 5e686ff57d6bc2fd8c675bd2c59a064be6da2839 branch: main author: Mark Shannon committer: markshannon date: 2024-07-25T18:32:43+01:00 summary: GH-122034: Add StackRef variants of type checks to reduce the

[Python-checkins] [3.13] GH-122155: Fix cases generator to correctly compute 'peek' offset for error handling (GH-122158) (GH-122174)

2024-07-26 Thread markshannon
https://github.com/python/cpython/commit/9162da254aac8bbd30a3bdf90b0c5f0d3b8f7079 commit: 9162da254aac8bbd30a3bdf90b0c5f0d3b8f7079 branch: 3.13 author: Mark Shannon committer: markshannon date: 2024-07-26T10:51:42+01:00 summary: [3.13] GH-122155: Fix cases generator to correctly compute '

[Python-checkins] GH-121131: Clean up and fix some instrumented instructions. (GH-121132)

2024-07-26 Thread markshannon
https://github.com/python/cpython/commit/afb0aa6ed20bd8e982ecb307f12923cf8dbccd8c commit: afb0aa6ed20bd8e982ecb307f12923cf8dbccd8c branch: main author: Mark Shannon committer: markshannon date: 2024-07-26T12:24:12+01:00 summary: GH-121131: Clean up and fix some instrumented instructions. (GH

[Python-checkins] GH-122029: Break INSTRUMENTED_CALL into micro-ops, so that its behavior is consistent with CALL (GH-122177)

2024-07-26 Thread markshannon
https://github.com/python/cpython/commit/95a73917cd5a204979a78c13ba912621f1eeb2e3 commit: 95a73917cd5a204979a78c13ba912621f1eeb2e3 branch: main author: Mark Shannon committer: markshannon date: 2024-07-26T14:35:57+01:00 summary: GH-122029: Break INSTRUMENTED_CALL into micro-ops, so that its

[Python-checkins] GH-116090: Fix test and clarify behavior for exception events when exhausting a generator. (GH-120697)

2024-07-26 Thread markshannon
https://github.com/python/cpython/commit/2c42e13e80610a9dedcb15b57d142602e8143481 commit: 2c42e13e80610a9dedcb15b57d142602e8143481 branch: main author: Mark Shannon committer: markshannon date: 2024-07-26T14:37:35+01:00 summary: GH-116090: Fix test and clarify behavior for exception events when

[Python-checkins] Manually override bytecode definition in optimizer, to avoid build error (GH-122316)

2024-07-26 Thread markshannon
https://github.com/python/cpython/commit/1ca99ed240e1e70502d84fea274423b660d172c2 commit: 1ca99ed240e1e70502d84fea274423b660d172c2 branch: main author: Mark Shannon committer: markshannon date: 2024-07-26T18:38:52+01:00 summary: Manually override bytecode definition in optimizer, to avoid build

[Python-checkins] GH-122155: Track local variables between pops and pushes in cases generator (GH-122286)

2024-08-01 Thread markshannon
https://github.com/python/cpython/commit/a9d56e38a08ec198a2289d8fff65444b39dd4a32 commit: a9d56e38a08ec198a2289d8fff65444b39dd4a32 branch: main author: Mark Shannon committer: markshannon date: 2024-08-01T09:27:26+01:00 summary: GH-122155: Track local variables between pops and pushes in cases

[Python-checkins] GH-117224: Move the body of a few large-ish micro-ops into helper functions (GH-122601)

2024-08-02 Thread markshannon
https://github.com/python/cpython/commit/7aca84e557d0a6d242f322c493d53947a56bde91 commit: 7aca84e557d0a6d242f322c493d53947a56bde91 branch: main author: Mark Shannon committer: markshannon date: 2024-08-02T16:31:17+01:00 summary: GH-117224: Move the body of a few large-ish micro-ops into helper

[Python-checkins] GH-122616: Simplify LOAD_ATTR_WITH_HINT and STORE_ATTR_WITH_HINT (GH-122620)

2024-08-05 Thread markshannon
https://github.com/python/cpython/commit/5bd72912a1a85be96092de302608a4298741c6cd commit: 5bd72912a1a85be96092de302608a4298741c6cd branch: main author: Mark Shannon committer: markshannon date: 2024-08-05T16:27:48+01:00 summary: GH-122616: Simplify LOAD_ATTR_WITH_HINT and STORE_ATTR_WITH_HINT

[Python-checkins] GH-120024: Refactor code a bit so that escaping calls can be wrapped in spill code in code generator (GH-122693)

2024-08-06 Thread markshannon
https://github.com/python/cpython/commit/a8be8fc6c4682089be45a87bd5ee1f686040116c commit: a8be8fc6c4682089be45a87bd5ee1f686040116c branch: main author: Mark Shannon committer: markshannon date: 2024-08-06T08:40:39+01:00 summary: GH-120024: Refactor code a bit so that escaping calls can be

[Python-checkins] GH-120024: Refactor code generators to uses classes for emitting code. (GH-122730)

2024-08-06 Thread markshannon
https://github.com/python/cpython/commit/fbfab4f88cf061ce4b8ec4d876d247221326d8fa commit: fbfab4f88cf061ce4b8ec4d876d247221326d8fa branch: main author: Mark Shannon committer: markshannon date: 2024-08-06T13:04:33+01:00 summary: GH-120024: Refactor code generators to uses classes for emitting

[Python-checkins] GH-120024: Move three more escaping calls out of conditional statements (GH-122734)

2024-08-06 Thread markshannon
https://github.com/python/cpython/commit/4c317918486348ff8486168e1003be8c1daa6cf5 commit: 4c317918486348ff8486168e1003be8c1daa6cf5 branch: main author: Mark Shannon committer: markshannon date: 2024-08-06T14:14:52+01:00 summary: GH-120024: Move three more escaping calls out of conditional

[Python-checkins] GH-120024: Tidy up case generator code a bit. (GH-122780)

2024-08-08 Thread markshannon
https://github.com/python/cpython/commit/81c739e2dc5d19696b6e74fa1cd13914e84acef0 commit: 81c739e2dc5d19696b6e74fa1cd13914e84acef0 branch: main author: Mark Shannon committer: markshannon date: 2024-08-08T10:57:59+01:00 summary: GH-120024: Tidy up case generator code a bit. (GH-122780) files

[Python-checkins] GH-122821: Simplify compilation of while statements to ensure consistency of offsets for sys.monitoring (GH-122934)

2024-08-13 Thread markshannon
https://github.com/python/cpython/commit/fe23f8ed970425828de20fb48750fa89da914886 commit: fe23f8ed970425828de20fb48750fa89da914886 branch: main author: Mark Shannon committer: markshannon date: 2024-08-13T10:25:44+01:00 summary: GH-122821: Simplify compilation of while statements to ensure

[Python-checkins] GH-122390: Replace `_Py_GetbaseOpcode` with `_Py_GetBaseCodeUnit` (GH-122942)

2024-08-13 Thread markshannon
https://github.com/python/cpython/commit/7a65439b93d6ee4d4e32757b55909b882f9a2056 commit: 7a65439b93d6ee4d4e32757b55909b882f9a2056 branch: main author: Mark Shannon committer: markshannon date: 2024-08-13T14:22:57+01:00 summary: GH-122390: Replace `_Py_GetbaseOpcode` with `_Py_GetBaseCodeUnit

[Python-checkins] GH-120024: Remove `CHECK_EVAL_BREAKER` macro. (GH-122968)

2024-08-14 Thread markshannon
https://github.com/python/cpython/commit/eec7bdaf01a5c1f89265565876964c825ea334fc commit: eec7bdaf01a5c1f89265565876964c825ea334fc branch: main author: Mark Shannon committer: markshannon date: 2024-08-14T12:04:05+01:00 summary: GH-120024: Remove `CHECK_EVAL_BREAKER` macro. (GH-122968

[Python-checkins] GH-118093: Specialize `CALL_KW` (GH-123006)

2024-08-16 Thread markshannon
https://github.com/python/cpython/commit/c13e7d98fb8581014a225b900b1b88ccbfc28097 commit: c13e7d98fb8581014a225b900b1b88ccbfc28097 branch: main author: Mark Shannon committer: markshannon date: 2024-08-16T17:11:24+01:00 summary: GH-118093: Specialize `CALL_KW` (GH-123006) files: A Misc/NEWS.d

[Python-checkins] GH-113655: Lower the C recursion limit on various platforms (GH-113944)

2024-01-16 Thread markshannon
https://github.com/python/cpython/commit/17b73ab99ef12f89d41acec7500a244e68b1aaa4 commit: 17b73ab99ef12f89d41acec7500a244e68b1aaa4 branch: main author: Mark Shannon committer: markshannon date: 2024-01-16T09:32:01Z summary: GH-113655: Lower the C recursion limit on various platforms (GH-113944

[Python-checkins] Delete unused macro (GH-114238)

2024-01-18 Thread markshannon
https://github.com/python/cpython/commit/2ff072f21f20b5c27ed01cb86cc15003509a5c8d commit: 2ff072f21f20b5c27ed01cb86cc15003509a5c8d branch: main author: Mark Shannon committer: markshannon date: 2024-01-18T15:49:50Z summary: Delete unused macro (GH-114238) files: M Python/ceval_macros.h diff

[Python-checkins] gh-113102: Fix typo in INSTRUMENTED_RESUME (GH-114349)

2024-01-22 Thread markshannon
https://github.com/python/cpython/commit/2f2ddabd1a02e3095b751100b94b529e4e0bcd20 commit: 2f2ddabd1a02e3095b751100b94b529e4e0bcd20 branch: main author: Guido van Rossum committer: markshannon date: 2024-01-22T11:56:28Z summary: gh-113102: Fix typo in INSTRUMENTED_RESUME (GH-114349) files: M

[Python-checkins] GH-113710: Add a tier 2 peephole optimization pass. (GH-114487)

2024-01-24 Thread markshannon
https://github.com/python/cpython/commit/384429d1c0cf011dcf88d4043e0328de8b063c24 commit: 384429d1c0cf011dcf88d4043e0328de8b063c24 branch: main author: Mark Shannon committer: markshannon date: 2024-01-24T12:08:31Z summary: GH-113710: Add a tier 2 peephole optimization pass. (GH-114487

[Python-checkins] GH-112354: `END_FOR` instruction to only pop one value. (GH-114247)

2024-01-24 Thread markshannon
https://github.com/python/cpython/commit/981d172f7f0613d30bef4a8934b361db7fcf0672 commit: 981d172f7f0613d30bef4a8934b361db7fcf0672 branch: main author: Mark Shannon committer: markshannon date: 2024-01-24T15:10:17Z summary: GH-112354: `END_FOR` instruction to only pop one value. (GH-114247

[Python-checkins] gh-114312: Collect stats for unlikely events (GH-114493)

2024-01-25 Thread markshannon
https://github.com/python/cpython/commit/ea3cd0498c443e93be441736c804258e93d21edd commit: ea3cd0498c443e93be441736c804258e93d21edd branch: main author: Michael Droettboom committer: markshannon date: 2024-01-25T11:10:51Z summary: gh-114312: Collect stats for unlikely events (GH-114493) files

[Python-checkins] Doc/library/sys.monitoring.rst: remove contradictory paragraph. (GH-113619)

2024-01-25 Thread markshannon
https://github.com/python/cpython/commit/07ef63fb6a0fb996d5f56c79f4ccd7a1887a6b2b commit: 07ef63fb6a0fb996d5f56c79f4ccd7a1887a6b2b branch: main author: Ned Batchelder committer: markshannon date: 2024-01-25T14:38:43Z summary: Doc/library/sys.monitoring.rst: remove contradictory paragraph. (GH

[Python-checkins] gh-114312: Fix rare event counter tests on aarch64 (GH-114554)

2024-01-26 Thread markshannon
https://github.com/python/cpython/commit/d0f7f5c41d71758c59f9372a192e927d73cf7c27 commit: d0f7f5c41d71758c59f9372a192e927d73cf7c27 branch: main author: Michael Droettboom committer: markshannon date: 2024-01-26T10:10:03Z summary: gh-114312: Fix rare event counter tests on aarch64 (GH-114554

[Python-checkins] GH-114806. Don't specialize calls to classes with metaclasses. (GH-114870)

2024-02-01 Thread markshannon
https://github.com/python/cpython/commit/e66d0399cc2e78fcdb6a0113cd757d2ce567ca7c commit: e66d0399cc2e78fcdb6a0113cd757d2ce567ca7c branch: main author: Mark Shannon committer: markshannon date: 2024-02-01T19:39:32Z summary: GH-114806. Don't specialize calls to classes with metaclasses

[Python-checkins] GH-113655 Lower C recursion limit from 4000 to 3000 on Windows. (GH-114896)

2024-02-02 Thread markshannon
https://github.com/python/cpython/commit/41fde89e471003b3e70fdd76d6726fba9982a1eb commit: 41fde89e471003b3e70fdd76d6726fba9982a1eb branch: main author: Mark Shannon committer: markshannon date: 2024-02-02T10:41:28Z summary: GH-113655 Lower C recursion limit from 4000 to 3000 on Windows. (GH

[Python-checkins] GH-113710: Add a "globals to constants" pass (GH-114592)

2024-02-02 Thread markshannon
https://github.com/python/cpython/commit/0e71a295e9530c939a5efcb45db23cf31e0303b4 commit: 0e71a295e9530c939a5efcb45db23cf31e0303b4 branch: main author: Mark Shannon committer: markshannon date: 2024-02-02T12:14:34Z summary: GH-113710: Add a "globals to constants" pass (GH-114592)

[Python-checkins] GH-113462: Limit the number of versions that a single class can use. (GH-114900)

2024-02-05 Thread markshannon
https://github.com/python/cpython/commit/992446dd5bd3fff92ea0f8064fb19eebfe105cef commit: 992446dd5bd3fff92ea0f8064fb19eebfe105cef branch: main author: Mark Shannon committer: markshannon date: 2024-02-05T16:20:54Z summary: GH-113462: Limit the number of versions that a single class can use

[Python-checkins] GH-108362: Incremental GC implementation (GH-108038)

2024-02-05 Thread markshannon
https://github.com/python/cpython/commit/36518e69d74607e5f094ce55286188e4545a947d commit: 36518e69d74607e5f094ce55286188e4545a947d branch: main author: Mark Shannon committer: markshannon date: 2024-02-05T18:28:51Z summary: GH-108362: Incremental GC implementation (GH-108038) files: A Misc

[Python-checkins] GH-114695: Add `sys._clear_internal_caches` (GH-115152)

2024-02-12 Thread markshannon
https://github.com/python/cpython/commit/235cacff81931a68e8c400bb3919ae6e55462fb5 commit: 235cacff81931a68e8c400bb3919ae6e55462fb5 branch: main author: Brandt Bucher committer: markshannon date: 2024-02-12T09:04:36Z summary: GH-114695: Add `sys._clear_internal_caches` (GH-115152) files: A Misc

[Python-checkins] gh-115058: Add ``reset_rare_event_counters`` function in `_testinternalcapi` (GH-115128)

2024-02-12 Thread markshannon
https://github.com/python/cpython/commit/93ac78ac3ee124942bca7492149c3ff0003b6e30 commit: 93ac78ac3ee124942bca7492149c3ff0003b6e30 branch: main author: Kirill Podoprigora committer: markshannon date: 2024-02-12T16:05:30Z summary: gh-115058: Add ``reset_rare_event_counters`` function in

[Python-checkins] GH-113710: Fix updating of dict version tag and add watched dict stats (GH-115221)

2024-02-12 Thread markshannon
https://github.com/python/cpython/commit/814466101790d4381ca4800c3d3b0cc0aad50c62 commit: 814466101790d4381ca4800c3d3b0cc0aad50c62 branch: main author: Mark Shannon committer: markshannon date: 2024-02-12T16:07:38Z summary: GH-113710: Fix updating of dict version tag and add watched dict stats

[Python-checkins] GH-113710: Backedge counter improvements. (GH-115166)

2024-02-13 Thread markshannon
https://github.com/python/cpython/commit/f9f6156c5affc039d4ee6b6f4999daf0d5896428 commit: f9f6156c5affc039d4ee6b6f4999daf0d5896428 branch: main author: Mark Shannon committer: markshannon date: 2024-02-13T14:16:37Z summary: GH-113710: Backedge counter improvements. (GH-115166) files: M Include

[Python-checkins] GH-113710: Improve `_SET_IP` and `_CHECK_VALIDITY` (GH-115248)

2024-02-13 Thread markshannon
https://github.com/python/cpython/commit/681778c56a9204d65b8857e7ceba57f2c638671d commit: 681778c56a9204d65b8857e7ceba57f2c638671d branch: main author: Mark Shannon committer: markshannon date: 2024-02-13T16:28:19Z summary: GH-113710: Improve `_SET_IP` and `_CHECK_VALIDITY` (GH-115248) files

[Python-checkins] GH-112354: Initial implementation of warm up on exits and trace-stitching (GH-114142)

2024-02-20 Thread markshannon
https://github.com/python/cpython/commit/7b21403ccd16c480812a1e857c0ee2deca592be0 commit: 7b21403ccd16c480812a1e857c0ee2deca592be0 branch: main author: Mark Shannon committer: markshannon date: 2024-02-20T09:39:55Z summary: GH-112354: Initial implementation of warm up on exits and trace

[Python-checkins] GH-115457: Support splitting and replication of micro ops. (GH-115558)

2024-02-20 Thread markshannon
https://github.com/python/cpython/commit/626c414995bad1dab51c7222a6f7bf388255eb9e commit: 626c414995bad1dab51c7222a6f7bf388255eb9e branch: main author: Mark Shannon committer: markshannon date: 2024-02-20T10:50:59Z summary: GH-115457: Support splitting and replication of micro ops. (GH-115558

[Python-checkins] GH-115727: Temporary fix of confidence score test. (GH-115728)

2024-02-20 Thread markshannon
https://github.com/python/cpython/commit/494739e1f71f8e290a2c869d4f40f4ea36a045c2 commit: 494739e1f71f8e290a2c869d4f40f4ea36a045c2 branch: main author: Mark Shannon committer: markshannon date: 2024-02-20T18:50:31Z summary: GH-115727: Temporary fix of confidence score test. (GH-115728

[Python-checkins] GH-115651: Convert `LOAD_MODULE_ATTR` into `LOAD_INLINE_CONST` when the module is itself a constant. (GH-115711)

2024-02-22 Thread markshannon
https://github.com/python/cpython/commit/b348313e7a48811acacc293ac4b2c8b20b4c631b commit: b348313e7a48811acacc293ac4b2c8b20b4c631b branch: main author: Mark Shannon committer: markshannon date: 2024-02-22T14:48:25Z summary: GH-115651: Convert `LOAD_MODULE_ATTR` into `LOAD_INLINE_CONST` when the

[Python-checkins] GH-115816: Make tier2 optimizer symbols testable, and add a few tests. (GH-115953)

2024-02-27 Thread markshannon
https://github.com/python/cpython/commit/10fbcd6c5dc25bfe14e02fd93ef93498a393860c commit: 10fbcd6c5dc25bfe14e02fd93ef93498a393860c branch: main author: Mark Shannon committer: markshannon date: 2024-02-27T10:51:26Z summary: GH-115816: Make tier2 optimizer symbols testable, and add a few tests

[Python-checkins] GH-115816: Assorted naming and formatting changes to improve maintainability. (GH-115987)

2024-02-27 Thread markshannon
https://github.com/python/cpython/commit/6ecfcfe8946cf701c6c7018e30ae54d8b7a7ac2a commit: 6ecfcfe8946cf701c6c7018e30ae54d8b7a7ac2a branch: main author: Mark Shannon committer: markshannon date: 2024-02-27T13:25:02Z summary: GH-115816: Assorted naming and formatting changes to improve

[Python-checkins] gh-107674: Improve performance of `sys.settrace` (GH-114986)

2024-02-28 Thread markshannon
https://github.com/python/cpython/commit/0a61e237009bf6b833e13ac635299ee063377699 commit: 0a61e237009bf6b833e13ac635299ee063377699 branch: main author: Tian Gao committer: markshannon date: 2024-02-28T15:21:42Z summary: gh-107674: Improve performance of `sys.settrace` (GH-114986) files: A Misc

[Python-checkins] gh-112075: Enable freeing with qsbr and fallback to lock on key changed (GH-116336)

2024-03-05 Thread markshannon
https://github.com/python/cpython/commit/ffcc450a9b8b6927549b501eff7ac14abc238448 commit: ffcc450a9b8b6927549b501eff7ac14abc238448 branch: main author: Dino Viehland committer: markshannon date: 2024-03-05T09:08:18Z summary: gh-112075: Enable freeing with qsbr and fallback to lock on key

[Python-checkins] GH-115685: Optimize `TO_BOOL` and variants based on truthiness of input. (GH-116311)

2024-03-05 Thread markshannon
https://github.com/python/cpython/commit/cbf3d38cbeb6e640d5959549169ec45cdedc1a71 commit: cbf3d38cbeb6e640d5959549169ec45cdedc1a71 branch: main author: Mark Shannon committer: markshannon date: 2024-03-05T11:23:46Z summary: GH-115685: Optimize `TO_BOOL` and variants based on truthiness of input

[Python-checkins] GH-115819: Eliminate Boolean guards when value is known (GH-116355)

2024-03-05 Thread markshannon
https://github.com/python/cpython/commit/0c81ce13602b88fd59f23f701ed8dc377d74e76e commit: 0c81ce13602b88fd59f23f701ed8dc377d74e76e branch: main author: Mark Shannon committer: markshannon date: 2024-03-05T15:06:00Z summary: GH-115819: Eliminate Boolean guards when value is known (GH-116355

[Python-checkins] GH-115685: Split `_TO_BOOL_ALWAYS_TRUE` into micro-ops (GH-116352)

2024-03-05 Thread markshannon
https://github.com/python/cpython/commit/23db9c62272f7470aadf8f52fe3ebb42b5e5d380 commit: 23db9c62272f7470aadf8f52fe3ebb42b5e5d380 branch: main author: Mark Shannon committer: markshannon date: 2024-03-05T15:23:08Z summary: GH-115685: Split `_TO_BOOL_ALWAYS_TRUE` into micro-ops (GH-116352

[Python-checkins] GH-115687: Most comparisons create Booleans, so propagate that information (GH-116360)

2024-03-06 Thread markshannon
https://github.com/python/cpython/commit/33c0aa3bb9b334593e27fe4b2b0fe912117a1ee1 commit: 33c0aa3bb9b334593e27fe4b2b0fe912117a1ee1 branch: main author: Mark Shannon committer: markshannon date: 2024-03-06T10:46:42Z summary: GH-115687: Most comparisons create Booleans, so propagate that

[Python-checkins] GH-113710: Tier 2 optimizer: check the function instead of checking globals. (GH-116410)

2024-03-06 Thread markshannon
https://github.com/python/cpython/commit/27858e2a17924dfac9a10efc17caee1f5126ea19 commit: 27858e2a17924dfac9a10efc17caee1f5126ea19 branch: main author: Mark Shannon committer: markshannon date: 2024-03-06T13:12:23Z summary: GH-113710: Tier 2 optimizer: check the function instead of checking

[Python-checkins] GH-113710: Fix optimization of globals using `_CHECK_FUNCTION` (GH-116460)

2024-03-08 Thread markshannon
https://github.com/python/cpython/commit/0003285c8d78f0b463f2acc164655456fcfc3206 commit: 0003285c8d78f0b463f2acc164655456fcfc3206 branch: main author: Mark Shannon committer: markshannon date: 2024-03-08T09:47:41Z summary: GH-113710: Fix optimization of globals using `_CHECK_FUNCTION` (GH

[Python-checkins] GH-116468: Use constants instead of `oparg` in stack effects when `oparg` is known to be a constant. (GH-116469)

2024-03-11 Thread markshannon
https://github.com/python/cpython/commit/4e5df2013fc29ed8bdb71572f1d12ff36e7028d5 commit: 4e5df2013fc29ed8bdb71572f1d12ff36e7028d5 branch: main author: Mark Shannon committer: markshannon date: 2024-03-11T09:30:15Z summary: GH-116468: Use constants instead of `oparg` in stack effects when

[Python-checkins] GH-116596: Better determination of escaping uops. (GH-116597)

2024-03-11 Thread markshannon
https://github.com/python/cpython/commit/b6ae6da1bd987506b599a30e37fb452f909b5cbe commit: b6ae6da1bd987506b599a30e37fb452f909b5cbe branch: main author: Mark Shannon committer: markshannon date: 2024-03-11T13:37:48Z summary: GH-116596: Better determination of escaping uops. (GH-116597) files: M

[Python-checkins] gh-116626: Emit `CALL` events for all `INSTRUMENTED_CALL_FUNCTION_EX` (GH-116627)

2024-03-13 Thread markshannon
https://github.com/python/cpython/commit/8332e85b2f079e8b9334666084d1f8495cff25c1 commit: 8332e85b2f079e8b9334666084d1f8495cff25c1 branch: main author: Tian Gao committer: markshannon date: 2024-03-13T08:28:01Z summary: gh-116626: Emit `CALL` events for all `INSTRUMENTED_CALL_FUNCTION_EX` (GH

[Python-checkins] [3.12] gh-116626: Emit `CALL` events for all `INSTRUMENTED_CALL_FUNCTION_EX (GH-116732)

2024-03-14 Thread markshannon
https://github.com/python/cpython/commit/56a3c5f7674d65023bf84759b797e603f09a93e3 commit: 56a3c5f7674d65023bf84759b797e603f09a93e3 branch: 3.12 author: Tian Gao committer: markshannon date: 2024-03-14T16:23:15Z summary: [3.12] gh-116626: Emit `CALL` events for all `INSTRUMENTED_CALL_FUNCTION_EX

[Python-checkins] GH-116422: Factor out eval breaker checks at end of calls into its own micro-op. (GH-116817)

2024-03-14 Thread markshannon
https://github.com/python/cpython/commit/61e54bfcee9f08a8e09aa1b2fd6cea69ca6a26e0 commit: 61e54bfcee9f08a8e09aa1b2fd6cea69ca6a26e0 branch: main author: Mark Shannon committer: markshannon date: 2024-03-14T16:31:47Z summary: GH-116422: Factor out eval breaker checks at end of calls into its own

[Python-checkins] GH-116422: Modify a few uops so that they can be supported by tier 2 with hot/cold splitting (GH-116832)

2024-03-15 Thread markshannon
https://github.com/python/cpython/commit/2cf18a44303b6d84faa8ecffaecc427b53ae121e commit: 2cf18a44303b6d84faa8ecffaecc427b53ae121e branch: main author: Mark Shannon committer: markshannon date: 2024-03-15T10:48:00Z summary: GH-116422: Modify a few uops so that they can be supported by tier 2

[Python-checkins] gh-116735: Use `MISSING` for `CALL` event if argument is absent (GH-116737)

2024-03-15 Thread markshannon
https://github.com/python/cpython/commit/59e30f41ed6f2388a99ac0a8aebf0a12f7460a4a commit: 59e30f41ed6f2388a99ac0a8aebf0a12f7460a4a branch: main author: Tian Gao committer: markshannon date: 2024-03-15T14:46:18Z summary: gh-116735: Use `MISSING` for `CALL` event if argument is absent (GH-116737

[Python-checkins] GH-115802: Reduce the size of _INIT_CALL_PY_EXACT_ARGS. (GH-116856)

2024-03-15 Thread markshannon
https://github.com/python/cpython/commit/950667ed0737144666ea8e1ec1a7e9de2e49a628 commit: 950667ed0737144666ea8e1ec1a7e9de2e49a628 branch: main author: Mark Shannon committer: markshannon date: 2024-03-15T17:16:30Z summary: GH-115802: Reduce the size of _INIT_CALL_PY_EXACT_ARGS. (GH-116856

[Python-checkins] gh-116808: Fix optimized trace length histogram (GH-116827)

2024-03-19 Thread markshannon
https://github.com/python/cpython/commit/0f278012e88fa9607d85bc6c7265fd394f0ac163 commit: 0f278012e88fa9607d85bc6c7265fd394f0ac163 branch: main author: Michael Droettboom committer: markshannon date: 2024-03-19T11:06:43Z summary: gh-116808: Fix optimized trace length histogram (GH-116827

[Python-checkins] [3.12] gh-116735: Use `MISSING` for `CALL` event if argument is absen… (#116873)

2024-03-19 Thread markshannon
https://github.com/python/cpython/commit/688623d402097a2559fb135ce30384c884d9c78f commit: 688623d402097a2559fb135ce30384c884d9c78f branch: 3.12 author: Tian Gao committer: markshannon date: 2024-03-19T17:00:54Z summary: [3.12] gh-116735: Use `MISSING` for `CALL` event if argument is absen

[Python-checkins] GH-108362: Incremental Cycle GC (GH-116206)

2024-03-20 Thread markshannon
https://github.com/python/cpython/commit/15309329b65a285cb7b3071f0f08ac964b61411b commit: 15309329b65a285cb7b3071f0f08ac964b61411b branch: main author: Mark Shannon committer: markshannon date: 2024-03-20T08:54:42Z summary: GH-108362: Incremental Cycle GC (GH-116206) files: A Misc/NEWS.d/next

[Python-checkins] GH-117066: Tier 2 optimizer: Don't throw away good traces if we can't optimize them perfectly. (GH-117067)

2024-03-20 Thread markshannon
https://github.com/python/cpython/commit/63289b9dfbc7d87e81f1517422ee91b6b6d19531 commit: 63289b9dfbc7d87e81f1517422ee91b6b6d19531 branch: main author: Mark Shannon committer: markshannon date: 2024-03-20T18:24:02Z summary: GH-117066: Tier 2 optimizer: Don't throw away good traces if we

[Python-checkins] GH-117108: Change the size of the GC increment to about 1% of the total heap size. (GH-117120)

2024-03-22 Thread markshannon
https://github.com/python/cpython/commit/e28477f214276db941e715eebc8cdfb96c1207d9 commit: e28477f214276db941e715eebc8cdfb96c1207d9 branch: main author: Mark Shannon committer: markshannon date: 2024-03-22T18:43:25Z summary: GH-117108: Change the size of the GC increment to about 1% of the total

[Python-checkins] GH-115776: Embed the values array into the object, for "normal" Python objects. (GH-116115)

2024-04-02 Thread markshannon
https://github.com/python/cpython/commit/c32dc47aca6e8fac152699bc613e015c44ccdba9 commit: c32dc47aca6e8fac152699bc613e015c44ccdba9 branch: main author: Mark Shannon committer: markshannon date: 2024-04-02T11:59:21+01:00 summary: GH-115776: Embed the values array into the object, for "n

[Python-checkins] gh-107674: Remove some unnecessary code in instrumentation code (GH-117393)

2024-04-09 Thread markshannon
https://github.com/python/cpython/commit/57183241af76bf33e44d886a733f799d20fc680c commit: 57183241af76bf33e44d886a733f799d20fc680c branch: main author: Tian Gao committer: markshannon date: 2024-04-09T09:54:28+01:00 summary: gh-107674: Remove some unnecessary code in instrumentation code (GH

[Python-checkins] GH-117750: When clearing object's dict, clear inline values but leave dict attached (GH-117808)

2024-04-15 Thread markshannon
https://github.com/python/cpython/commit/784e076a10e828f383282df8a4b993a1b821f547 commit: 784e076a10e828f383282df8a4b993a1b821f547 branch: main author: Mark Shannon committer: markshannon date: 2024-04-15T14:45:05+01:00 summary: GH-117750: When clearing object's dict, clear inline value

[Python-checkins] GH-115776: Static object are immortal, so mark them as such. (GH-117673)

2024-04-16 Thread markshannon
https://github.com/python/cpython/commit/c053d52edd1e05ccc339e380b705749a3240d645 commit: c053d52edd1e05ccc339e380b705749a3240d645 branch: main author: Mark Shannon committer: markshannon date: 2024-04-16T12:51:41+01:00 summary: GH-115776: Static object are immortal, so mark them as such. (GH

[Python-checkins] gh-115178: Add Counts of UOp Pairs to pystats (GH-115181)

2024-04-16 Thread markshannon
https://github.com/python/cpython/commit/acf69e09c66f8473399fabab36b81f56496528a6 commit: acf69e09c66f8473399fabab36b81f56496528a6 branch: main author: Jeff Glass committer: markshannon date: 2024-04-16T14:27:18+01:00 summary: gh-115178: Add Counts of UOp Pairs to pystats (GH-115181) files: M

[Python-checkins] GH-117760: Streamline the trashcan mechanism (GH-117763)

2024-04-17 Thread markshannon
https://github.com/python/cpython/commit/147cd0581e35a10204776029aeaa7fa1901056bc commit: 147cd0581e35a10204776029aeaa7fa1901056bc branch: main author: Mark Shannon committer: markshannon date: 2024-04-17T11:08:05+01:00 summary: GH-117760: Streamline the trashcan mechanism (GH-117763) files: M

[Python-checkins] GH-115419: Tidy up tier 2 optimizer. Merge peephole pass into main pass (GH-117997)

2024-04-18 Thread markshannon
https://github.com/python/cpython/commit/e32f6e9e4b202ce8759b201f7eafe4982c0eaa41 commit: e32f6e9e4b202ce8759b201f7eafe4982c0eaa41 branch: main author: Mark Shannon committer: markshannon date: 2024-04-18T11:09:30+01:00 summary: GH-115419: Tidy up tier 2 optimizer. Merge peephole pass into main

  1   2   3   >