[Python-checkins] gh-124068: Fix reference leak with generators in the free-threaded build (#124069)

2024-09-13 Thread colesbury
https://github.com/python/cpython/commit/b02301fa5a543266ee310a6d98278d2b8e26d7b3 commit: b02301fa5a543266ee310a6d98278d2b8e26d7b3 branch: main author: Sam Gross committer: colesbury date: 2024-09-13T22:02:27-04:00 summary: gh-124068: Fix reference leak with generators in the free-threaded build

[Python-checkins] gh-121607: Edited source file import recipe to make it more clear (#121519)

2024-09-13 Thread brettcannon
https://github.com/python/cpython/commit/38809171b8768517824fb62d48abe2cb0aff8429 commit: 38809171b8768517824fb62d48abe2cb0aff8429 branch: main author: Chris Barker committer: brettcannon date: 2024-09-13T16:36:40-07:00 summary: gh-121607: Edited source file import recipe to make it more clear (

[Python-checkins] Minor edits to the descriptor guide (GH-123928)

2024-09-13 Thread rhettinger
https://github.com/python/cpython/commit/cd06f5e32369c7816c7360cbb20fbe9f38b4f3a7 commit: cd06f5e32369c7816c7360cbb20fbe9f38b4f3a7 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-09-13T17:02:37-05:00 summary: Minor edits to the descriptor guide (GH-123928) files: M Doc/h

[Python-checkins] [3.12] gh-123974: Fix time.get_clock_info() on NetBSD (GH-123975) (#124073)

2024-09-13 Thread vstinner
https://github.com/python/cpython/commit/b2a7d718e3b70922f46208c22750c33145dccb75 commit: b2a7d718e3b70922f46208c22750c33145dccb75 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-09-13T20:54:09Z summary: [3.12] gh-123974:

[Python-checkins] gh-123974: Fix time.get_clock_info() on NetBSD (#123975)

2024-09-13 Thread vstinner
https://github.com/python/cpython/commit/b1d6f8a2ee04215c64aa8752cc515b7e98a08d28 commit: b1d6f8a2ee04215c64aa8752cc515b7e98a08d28 branch: main author: Furkan Onder committer: vstinner date: 2024-09-13T22:34:25+02:00 summary: gh-123974: Fix time.get_clock_info() on NetBSD (#123975) Fix OSError

[Python-checkins] Revert "gh-112301: Enable warning emitting options and ignore warnings in CI (#123020)" (#124065)

2024-09-13 Thread hugovk
https://github.com/python/cpython/commit/ea7797371856c13ded5db7854b721faa3cda38dc commit: ea7797371856c13ded5db7854b721faa3cda38dc branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2024-09-13T22:47:12+0

[Python-checkins] gh-100554: Fix formatting of type.rst modifications (#124066)

2024-09-13 Thread JelleZijlstra
https://github.com/python/cpython/commit/4f25e282ada8b9a4ae2aa56c4b16eaa9baad458a commit: 4f25e282ada8b9a4ae2aa56c4b16eaa9baad458a branch: main author: Oleg Iarygin committer: JelleZijlstra date: 2024-09-13T18:35:08Z summary: gh-100554: Fix formatting of type.rst modifications (#124066) files:

[Python-checkins] gh-122957: Fix test flakiness in asyncio test in free-thread build (#124039)

2024-09-13 Thread JelleZijlstra
https://github.com/python/cpython/commit/eadb9660ed836b40667d4f662eae90287ff18397 commit: eadb9660ed836b40667d4f662eae90287ff18397 branch: main author: Loïc Estève committer: JelleZijlstra date: 2024-09-13T11:13:30-07:00 summary: gh-122957: Fix test flakiness in asyncio test in free-thread build

[Python-checkins] [3.12] gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) (GH-124062)

2024-09-13 Thread serhiy-storchaka
https://github.com/python/cpython/commit/84e3f6078b5bab7d2d6413de6b089013d4aa4aa0 commit: 84e3f6078b5bab7d2d6413de6b089013d4aa4aa0 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-09-13T16:44:57Z summary: [3.12] gh

[Python-checkins] gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031)

2024-09-13 Thread serhiy-storchaka
https://github.com/python/cpython/commit/9f42b62db998131bb5cd555e2fa72ba7e06e3130 commit: 9f42b62db998131bb5cd555e2fa72ba7e06e3130 branch: main author: Furkan Onder committer: serhiy-storchaka date: 2024-09-13T19:27:54+03:00 summary: gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (G

[Python-checkins] gh-121459: Deferred LOAD_GLOBAL (GH-123128)

2024-09-13 Thread Fidget-Spinner
https://github.com/python/cpython/commit/8810e286fa48876422d1b230208911decbead294 commit: 8810e286fa48876422d1b230208911decbead294 branch: main author: Ken Jin committer: Fidget-Spinner date: 2024-09-14T00:23:51+08:00 summary: gh-121459: Deferred LOAD_GLOBAL (GH-123128) Co-authored-by: Bénédikt

[Python-checkins] gh-100554: Add ``Py_tp_vectorcall`` slot to set ``PyTypeObject.tp_vectorcall`` using the ``PyType_FromSpec`` function family. (#123332)

2024-09-13 Thread encukou
https://github.com/python/cpython/commit/74330d992be26829dba65ab83d698d42b2f2a2ee commit: 74330d992be26829dba65ab83d698d42b2f2a2ee branch: main author: Wenzel Jakob committer: encukou date: 2024-09-13T17:40:25+02:00 summary: gh-100554: Add ``Py_tp_vectorcall`` slot to set ``PyTypeObject.tp_vecto

[Python-checkins] [3.12] Normalize cdecl formatting as found elsewhere on ctypes.rst (GH-121379) (#124057)

2024-09-13 Thread hugovk
https://github.com/python/cpython/commit/c5e11bec91c9980e6a718b5281362fb33e7999bf commit: c5e11bec91c9980e6a718b5281362fb33e7999bf branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2024-09-1

[Python-checkins] Normalize cdecl formatting as found elsewhere on ctypes.rst (#121379)

2024-09-13 Thread hugovk
https://github.com/python/cpython/commit/bbb36c0934b7644a9f8b67d3cae78aa6240e005a commit: bbb36c0934b7644a9f8b67d3cae78aa6240e005a branch: main author: utkonos committer: hugovk <[email protected]> date: 2024-09-13T18:26:16+03:00 summary: Normalize cdecl formatting as found

[Python-checkins] Update to 3.13 the output of exceptions raised (#123888)

2024-09-13 Thread hugovk
https://github.com/python/cpython/commit/39612103dd9894abf8c2ebbe2fc183d65f1b51b1 commit: 39612103dd9894abf8c2ebbe2fc183d65f1b51b1 branch: main author: Rafael Fontenelle committer: hugovk <[email protected]> date: 2024-09-13T15:17:30Z summary: Update to 3.13 the output of ex

[Python-checkins] gh-124022: add missing #include (#124052)

2024-09-13 Thread JelleZijlstra
https://github.com/python/cpython/commit/fe49e8f32ff421d2579bde385dbf4b2df477df78 commit: fe49e8f32ff421d2579bde385dbf4b2df477df78 branch: main author: Irit Katriel <[email protected]> committer: JelleZijlstra date: 2024-09-13T15:16:54Z summary: gh-124022: add missing #

[Python-checkins] gh-119802: Update memory management docs for free-threaded build (gh-124006)

2024-09-13 Thread corona10
https://github.com/python/cpython/commit/e6bb1a2b28ac8aed1e1b7f1c74221ca1d02a7235 commit: e6bb1a2b28ac8aed1e1b7f1c74221ca1d02a7235 branch: main author: Donghee Na committer: corona10 date: 2024-09-13T15:15:44Z summary: gh-119802: Update memory management docs for free-threaded build (gh-124006)

[Python-checkins] gh-124022: Fix bug where class docstring is removed in interactive mode (#124023)

2024-09-13 Thread iritkatriel
https://github.com/python/cpython/commit/a9594a34c62487961be86c0925daaa43bb467bb9 commit: a9594a34c62487961be86c0925daaa43bb467bb9 branch: main author: Irit Katriel <[email protected]> committer: iritkatriel <[email protected]> date: 2024-09-13T

[Python-checkins] gh-112301: Enable warning emitting options and ignore warnings in CI (#123020)

2024-09-13 Thread hugovk
https://github.com/python/cpython/commit/cfe6074d1fa81cf0684fbf8a623616441a1966e7 commit: cfe6074d1fa81cf0684fbf8a623616441a1966e7 branch: main author: Nate Ohlson committer: hugovk <[email protected]> date: 2024-09-13T13:40:04Z summary: gh-112301: Enable warning emitting op

[Python-checkins] [3.12] gh-123811: Test that round(Decimal) can return signed zero (GH-124007) (GH-124049)

2024-09-13 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b6f46073515ce10a4f2457c32c8376bf975388aa commit: b6f46073515ce10a4f2457c32c8376bf975388aa branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-09-13T13:09:26Z summary: [3.12] gh

[Python-checkins] gh-123811: Test that round(Decimal) can return signed zero (GH-124007)

2024-09-13 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b46c65ed2b78214cb8914779ac4e8d343ac4775e commit: b46c65ed2b78214cb8914779ac4e8d343ac4775e branch: main author: Sergey B Kirpichev committer: serhiy-storchaka date: 2024-09-13T15:49:13+03:00 summary: gh-123811: Test that round(Decimal) can return signed ze

[Python-checkins] gh-123961: Add `curses` prefix to global variables in `_cursesmodule.c` (#124047)

2024-09-13 Thread vstinner
https://github.com/python/cpython/commit/acb3f875fba0552d55989f1f2686c334fecaecca commit: acb3f875fba0552d55989f1f2686c334fecaecca branch: main author: Bénédikt Tran <[email protected]> committer: vstinner date: 2024-09-13T12:43:06Z summary: gh-123961: Add `curses` prefix

[Python-checkins] gh-124044: protect macros expansions in `_cursesmodules.c` using `do { ... } while (0)` (#124045)

2024-09-13 Thread vstinner
https://github.com/python/cpython/commit/e49d1b44d3ef2542c0ae165e14a7e5ffbc32b2d1 commit: e49d1b44d3ef2542c0ae165e14a7e5ffbc32b2d1 branch: main author: Bénédikt Tran <[email protected]> committer: vstinner date: 2024-09-13T11:26:19Z summary: gh-124044: protect macros expan

[Python-checkins] gh-123909: PyType_From*: Disallow metaclasses with custom tp_new (GH-123947)

2024-09-13 Thread encukou
https://github.com/python/cpython/commit/432bf31327c6b9647acb8bdb0eac2d392fd9f60a commit: 432bf31327c6b9647acb8bdb0eac2d392fd9f60a branch: main author: Petr Viktorin committer: encukou date: 2024-09-13T13:18:49+02:00 summary: gh-123909: PyType_From*: Disallow metaclasses with custom tp_new (GH-1

[Python-checkins] gh-108303: Remove the non-test `Lib/test/reperf.py` (GH-114356)

2024-09-13 Thread encukou
https://github.com/python/cpython/commit/d7e83398c188a0acd19a496ee2ab52d64a11 commit: d7e83398c188a0acd19a496ee2ab52d64a11 branch: main author: sobolevn committer: encukou date: 2024-09-13T13:13:52+02:00 summary: gh-108303: Remove the non-test `Lib/test/reperf.py` (GH-114356) files: D L

[Python-checkins] gh-123961: Remove global variable `ModDict` in `_cursesmodule.c` (#123962)

2024-09-13 Thread vstinner
https://github.com/python/cpython/commit/403f3ddedcab14f6c16ea78a93bb4acf49d06a07 commit: 403f3ddedcab14f6c16ea78a93bb4acf49d06a07 branch: main author: Bénédikt Tran <[email protected]> committer: vstinner date: 2024-09-13T10:33:13Z summary: gh-123961: Remove global variab