[Python-checkins] gh-121459: Fix a couple of uses of `PyStackRef_FromPyObjectSteal` (#125711)

2024-10-21 Thread mpage
https://github.com/python/cpython/commit/de5a6c7c7d00ac37d66cba9849202b374e9cdfb7 commit: de5a6c7c7d00ac37d66cba9849202b374e9cdfb7 branch: main author: mpage committer: mpage date: 2024-10-21T11:08:13-07:00 summary: gh-121459: Fix a couple of uses of `PyStackRef_FromPyObjectSteal` (#125711

[Python-checkins] gh-115999: Implement thread-local bytecode and enable specialization for `BINARY_OP` (#123926)

2024-11-04 Thread mpage
https://github.com/python/cpython/commit/2e95c5ba3bf7e5004c7e2304afda4a8f8e2443a7 commit: 2e95c5ba3bf7e5004c7e2304afda4a8f8e2443a7 branch: main author: mpage committer: mpage date: 2024-11-04T11:13:32-08:00 summary: gh-115999: Implement thread-local bytecode and enable specialization for

[Python-checkins] gh-126211: Exclude preprocessor directives from statements containing escaping calls (#126213)

2024-11-01 Thread mpage
https://github.com/python/cpython/commit/821759d63101334fa8a1863135429c341ca0b234 commit: 821759d63101334fa8a1863135429c341ca0b234 branch: main author: mpage committer: mpage date: 2024-11-01T08:53:03-07:00 summary: gh-126211: Exclude preprocessor directives from statements containing escaping

[Python-checkins] gh-115999: Introduce helpers for (un)specializing instructions (#126414)

2024-11-06 Thread mpage
https://github.com/python/cpython/commit/9ce4fa0719d291070b6a66fe25716ef1e81448fc commit: 9ce4fa0719d291070b6a66fe25716ef1e81448fc branch: main author: mpage committer: mpage date: 2024-11-06T12:04:04-08:00 summary: gh-115999: Introduce helpers for (un)specializing instructions (#126414

[Python-checkins] gh-126513: Use helpers for `_Py_Specialize_ConstainsOp` (#126517)

2024-11-06 Thread mpage
https://github.com/python/cpython/commit/6e03ff2419a7faf514ad833dc513175c4f7e9bc7 commit: 6e03ff2419a7faf514ad833dc513175c4f7e9bc7 branch: main author: Kirill Podoprigora committer: mpage date: 2024-11-06T13:52:15-08:00 summary: gh-126513: Use helpers for `_Py_Specialize_ConstainsOp` (#126517

[Python-checkins] gh-115999: Don't take a reason in unspecialize (#127030)

2024-11-20 Thread mpage
https://github.com/python/cpython/commit/32428cf9ea03bce6d64c7acd28e0b7d92774eb53 commit: 32428cf9ea03bce6d64c7acd28e0b7d92774eb53 branch: main author: mpage committer: mpage date: 2024-11-20T14:54:48-08:00 summary: gh-115999: Don't take a reason in unspecialize (#127030) Don't tak

[Python-checkins] gh-127411: Fix invalid conversion of load of TLBC array when compiled in C++ (#127466)

2024-12-02 Thread mpage
https://github.com/python/cpython/commit/c4303763dac4494300e299e54c079a4a11931a55 commit: c4303763dac4494300e299e54c079a4a11931a55 branch: main author: mpage committer: mpage date: 2024-12-02T10:13:30-08:00 summary: gh-127411: Fix invalid conversion of load of TLBC array when compiled in C

[Python-checkins] gh-115999: Specialize `CALL_KW` in free-threaded builds (#127713)

2024-12-11 Thread mpage
https://github.com/python/cpython/commit/c84928ed6de105696be24859e03f3ab27e11daf6 commit: c84928ed6de105696be24859e03f3ab27e11daf6 branch: main author: mpage committer: mpage date: 2024-12-11T15:18:22-08:00 summary: gh-115999: Specialize `CALL_KW` in free-threaded builds (#127713) * Enable

[Python-checkins] gh-115999: Specialize loading attributes from modules in free-threaded builds (#127711)

2024-12-13 Thread mpage
https://github.com/python/cpython/commit/2de048ce79e621f5ae0574095b9600fe8595f607 commit: 2de048ce79e621f5ae0574095b9600fe8595f607 branch: main author: mpage committer: mpage date: 2024-12-13T10:17:16-08:00 summary: gh-115999: Specialize loading attributes from modules in free-threaded builds

[Python-checkins] gh-127274: Defer nested methods (#128012)

2024-12-19 Thread mpage
https://github.com/python/cpython/commit/255762c09fe518757bb3e8ce1bb6e5d8eec9f466 commit: 255762c09fe518757bb3e8ce1bb6e5d8eec9f466 branch: main author: mpage committer: mpage date: 2024-12-19T13:03:14-08:00 summary: gh-127274: Defer nested methods (#128012) Methods (functions defined in class

[Python-checkins] gh-115999: Record success in `specialize` (#127167)

2024-11-22 Thread mpage
https://github.com/python/cpython/commit/d24a22e9b6377797c3b602945347096fbe065670 commit: d24a22e9b6377797c3b602945347096fbe065670 branch: main author: mpage committer: mpage date: 2024-11-22T12:07:05-08:00 summary: gh-115999: Record success in `specialize` (#127167) Record success in

[Python-checkins] gh-115999: Specialize `LOAD_GLOBAL` in free-threaded builds (#126607)

2024-11-21 Thread mpage
https://github.com/python/cpython/commit/09c240f20c47db126ad7e162df41e5c2596962d4 commit: 09c240f20c47db126ad7e162df41e5c2596962d4 branch: main author: mpage committer: mpage date: 2024-11-21T11:22:21-08:00 summary: gh-115999: Specialize `LOAD_GLOBAL` in free-threaded builds (#126607) Enable

[Python-checkins] gh-115999: Enable specialization of `CALL` instructions in free-threaded builds (#127123)

2024-12-03 Thread mpage
https://github.com/python/cpython/commit/dabcecfd6dadb9430733105ba36925b290343d31 commit: dabcecfd6dadb9430733105ba36925b290343d31 branch: main author: mpage committer: mpage date: 2024-12-03T11:20:20-08:00 summary: gh-115999: Enable specialization of `CALL` instructions in free-threaded builds

[Python-checkins] gh-127421: Fix race in test_start_new_thread_failed (#127549)

2024-12-03 Thread mpage
https://github.com/python/cpython/commit/13b68e1a61e92a032d255aff5d5af435bbb63e8b commit: 13b68e1a61e92a032d255aff5d5af435bbb63e8b branch: main author: mpage committer: mpage date: 2024-12-03T09:50:58-08:00 summary: gh-127421: Fix race in test_start_new_thread_failed (#127549) Fix race in

[Python-checkins] [3.13] gh-127421: Fix race in test_start_new_thread_failed (GH-127549) (#127574)

2024-12-03 Thread mpage
https://github.com/python/cpython/commit/0b266aaa398b48df3918308cb5a895dd9a0651d9 commit: 0b266aaa398b48df3918308cb5a895dd9a0651d9 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: mpage date: 2024-12-03T10:30:08-08:00 summary: [3.

[Python-checkins] gh-128955: Fix goto if tlbc creation fails when throwing into a generator (#128957)

2025-01-17 Thread mpage
https://github.com/python/cpython/commit/13c4def692228f09df0b30c5f93bc515e89fc77f commit: 13c4def692228f09df0b30c5f93bc515e89fc77f branch: main author: mpage committer: mpage date: 2025-01-17T12:53:29-08:00 summary: gh-128955: Fix goto if tlbc creation fails when throwing into a generator

[Python-checkins] gh-115999: Specialize `LOAD_ATTR` for instance and class receivers in free-threaded builds (#128164)

2025-01-14 Thread mpage
https://github.com/python/cpython/commit/b5ee0258bf5bb60a5a5a65c64717853e06b64808 commit: b5ee0258bf5bb60a5a5a65c64717853e06b64808 branch: main author: mpage committer: mpage date: 2025-01-14T11:56:11-08:00 summary: gh-115999: Specialize `LOAD_ATTR` for instance and class receivers in free

[Python-checkins] gh-129987: Disable GCC SLP autovectorization for the interpreter loop on x86-64 (#132295)

2025-04-09 Thread mpage
https://github.com/python/cpython/commit/1f5682f3a27516833f7c317707dd359280dba6e7 commit: 1f5682f3a27516833f7c317707dd359280dba6e7 branch: main author: mpage committer: mpage date: 2025-04-09T10:34:12-07:00 summary: gh-129987: Disable GCC SLP autovectorization for the interpreter loop on x86-64

[Python-checkins] gh-130704: Strength reduce `LOAD_FAST{_LOAD_FAST}` (#130708)

2025-04-01 Thread mpage
https://github.com/python/cpython/commit/053c285f6b41f92fbdd1d4ff0c959cceefacd7cd commit: 053c285f6b41f92fbdd1d4ff0c959cceefacd7cd branch: main author: mpage committer: mpage date: 2025-04-01T10:18:42-07:00 summary: gh-130704: Strength reduce `LOAD_FAST{_LOAD_FAST}` (#130708) Optimize

[Python-checkins] gh-131987: Bump the magic number (#131991)

2025-04-01 Thread mpage
https://github.com/python/cpython/commit/cd69d55f64087f74da816eaf20c34ddeabfdb2bb commit: cd69d55f64087f74da816eaf20c34ddeabfdb2bb branch: main author: mpage committer: mpage date: 2025-04-01T14:53:49-07:00 summary: gh-131987: Bump the magic number (#131991) This should have been done as part

[Python-checkins] gh-131173: Improve exception handling during take_ownership processing (#132620)

2025-04-17 Thread mpage
https://github.com/python/cpython/commit/22830103e598c63663b462c4e42b74e7a9d3bb99 commit: 22830103e598c63663b462c4e42b74e7a9d3bb99 branch: main author: Alper committer: mpage date: 2025-04-17T13:38:34-07:00 summary: gh-131173: Improve exception handling during take_ownership processing (#132620

[Python-checkins] gh-133371: Don't optimize `LOAD_FAST` instructions whose local is killed by `DELETE_FAST` (#133383)

2025-05-04 Thread mpage
https://github.com/python/cpython/commit/78adb63ee198c94c6ce2a1634aa7ea1d47c011ad commit: 78adb63ee198c94c6ce2a1634aa7ea1d47c011ad branch: main author: mpage committer: mpage date: 2025-05-04T21:00:11-07:00 summary: gh-133371: Don't optimize `LOAD_FAST` instructions whose local is kill

[Python-checkins] gh-132578: Rename the `threading.Thread._handle` field (#132696)

2025-04-21 Thread mpage
https://github.com/python/cpython/commit/3cfab449ab1e3c1472d2a33dc3fae3dc06c39f7b commit: 3cfab449ab1e3c1472d2a33dc3fae3dc06c39f7b branch: main author: mpage committer: mpage date: 2025-04-21T16:07:54-07:00 summary: gh-132578: Rename the `threading.Thread._handle` field (#132696) Commit

[Python-checkins] gh-118331: Fix `test_list.ListTest.test_no_memory` under trace refs build (#130921)

2025-03-06 Thread mpage
https://github.com/python/cpython/commit/6c6600f6831aec15b2acbd7a9bb9c275bd5f4a32 commit: 6c6600f6831aec15b2acbd7a9bb9c275bd5f4a32 branch: main author: mpage committer: mpage date: 2025-03-06T12:11:50-08:00 summary: gh-118331: Fix `test_list.ListTest.test_no_memory` under trace refs build

[Python-checkins] gh-118331: Fix a couple of issues when list allocation fails (#130811)

2025-03-05 Thread mpage
https://github.com/python/cpython/commit/d7bb7c781771650a4edcdee9dfd1ab9c4083e9fd commit: d7bb7c781771650a4edcdee9dfd1ab9c4083e9fd branch: main author: mpage committer: mpage date: 2025-03-05T10:42:09-08:00 summary: gh-118331: Fix a couple of issues when list allocation fails (#130811) * Fix

[Python-checkins] gh-135805: Document the X option and env var for controlling thread-local bytecode (#135868)

2025-06-24 Thread mpage
https://github.com/python/cpython/commit/fea5ccc55d8486300beb1d0254da030a4da10394 commit: fea5ccc55d8486300beb1d0254da030a4da10394 branch: main author: mpage committer: mpage date: 2025-06-24T10:02:50-07:00 summary: gh-135805: Document the X option and env var for controlling thread-local

[Python-checkins] [3.14] gh-134889: Fix handling of a few opcodes when optimizing `LOAD_FAST` (#134958) (#135187)

2025-06-05 Thread mpage
https://github.com/python/cpython/commit/be2f32e60f3291a7cb6164ab05fe9e0460ab8131 commit: be2f32e60f3291a7cb6164ab05fe9e0460ab8131 branch: 3.14 author: mpage committer: mpage date: 2025-06-05T13:06:51-07:00 summary: [3.14] gh-134889: Fix handling of a few opcodes when optimizing `LOAD_FAST

[Python-checkins] gh-116738: Make _heapq module thread-safe (#135036)

2025-06-09 Thread mpage
https://github.com/python/cpython/commit/a58026a5e3da9ca2d09ef51aa90fe217f9a975ec commit: a58026a5e3da9ca2d09ef51aa90fe217f9a975ec branch: main author: Alper committer: mpage date: 2025-06-09T10:57:29-07:00 summary: gh-116738: Make _heapq module thread-safe (#135036) Use critical sections to

[Python-checkins] gh-134889: Fix handling of a few opcodes when optimizing `LOAD_FAST` (#134958)

2025-06-04 Thread mpage
https://github.com/python/cpython/commit/6b77af257c25d31f1f137e477cb23e63692ddf29 commit: 6b77af257c25d31f1f137e477cb23e63692ddf29 branch: main author: mpage committer: mpage date: 2025-06-04T16:07:58-07:00 summary: gh-134889: Fix handling of a few opcodes when optimizing `LOAD_FAST` (#134958

[Python-checkins] gh-116738: Make pwd module thread-safe (#136695)

2025-07-17 Thread mpage
https://github.com/python/cpython/commit/eddc8c0a1d274ff6393c6fa233e535360c0dd07b commit: eddc8c0a1d274ff6393c6fa233e535360c0dd07b branch: main author: Alper committer: mpage date: 2025-07-17T09:16:01-07:00 summary: gh-116738: Make pwd module thread-safe (#136695) Make the pwd module functions

[Python-checkins] [3.14] gh-135805: Document the X option and env var for controlling thread-local bytecode (GH-135868) (#135897)

2025-06-25 Thread mpage
https://github.com/python/cpython/commit/fa74331a4c9ff5692a293befb2659ed2f341097e commit: fa74331a4c9ff5692a293befb2659ed2f341097e branch: 3.14 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: mpage date: 2025-06-24T10:33:15-07:00 summary: [3.

[Python-checkins] gh-136396: Include instrumentation when creating new copies of the bytecode (#136525)

2025-07-14 Thread mpage
https://github.com/python/cpython/commit/d995922198304a6de19ac1bec3e36d1e886d8468 commit: d995922198304a6de19ac1bec3e36d1e886d8468 branch: main author: mpage committer: mpage date: 2025-07-14T10:48:10-07:00 summary: gh-136396: Include instrumentation when creating new copies of the bytecode

[Python-checkins] gh-116738: Make grp module thread-safe (#135434)

2025-07-14 Thread mpage
https://github.com/python/cpython/commit/9363703bd3bf86e363c14a02e3d729caf1e29f44 commit: 9363703bd3bf86e363c14a02e3d729caf1e29f44 branch: main author: Alper committer: mpage date: 2025-07-14T11:18:41-07:00 summary: gh-116738: Make grp module thread-safe (#135434) Make grp module methods

[Python-checkins] gh-116738: Make syslog module thread-safe (#136760)

2025-07-21 Thread mpage
https://github.com/python/cpython/commit/65893c6f9c69562526d24fe8265119feeea54cbf commit: 65893c6f9c69562526d24fe8265119feeea54cbf branch: main author: Alper committer: mpage date: 2025-07-21T09:24:42-07:00 summary: gh-116738: Make syslog module thread-safe (#136760) Make the setlogmask