[Python-checkins] gh-101552: Allow pydoc to display signatures in source format (#124669)

2024-10-08 Thread JelleZijlstra
https://github.com/python/cpython/commit/78406382c97207b985b5c1d24db244ec398b7e3f commit: 78406382c97207b985b5c1d24db244ec398b7e3f branch: main author: Jelle Zijlstra committer: JelleZijlstra date: 2024-10-09T05:03:53Z summary: gh-101552: Allow pydoc to display signatures in source format (#1246

[Python-checkins] gh-124612: Use ghcr.io/python/autoconf instead of public image (#124657)

2024-10-08 Thread corona10
https://github.com/python/cpython/commit/b502573f7f800dbb2e401fa2a7a05eceac692c7a commit: b502573f7f800dbb2e401fa2a7a05eceac692c7a branch: main author: Donghee Na committer: corona10 date: 2024-10-09T09:33:18+09:00 summary: gh-124612: Use ghcr.io/python/autoconf instead of public image (#124657)

[Python-checkins] [3.12] GH-124478: Cleanup argparse documentation (GH-124877) (#125164)

2024-10-08 Thread JelleZijlstra
https://github.com/python/cpython/commit/0dbad1d8b723e1a6a46784ce720ea474f693127e commit: 0dbad1d8b723e1a6a46784ce720ea474f693127e branch: 3.12 author: Savannah Ostrowski committer: JelleZijlstra date: 2024-10-08T16:20:49-07:00 summary: [3.12] GH-124478: Cleanup argparse documentation (GH-124877

[Python-checkins] [3.13] GH-124478: Cleanup argparse documentation (GH-124877) (#125162)

2024-10-08 Thread JelleZijlstra
https://github.com/python/cpython/commit/5f2a5ac9dce719f589ba1d22272b184fb9af2676 commit: 5f2a5ac9dce719f589ba1d22272b184fb9af2676 branch: 3.13 author: Savannah Ostrowski committer: JelleZijlstra date: 2024-10-08T16:20:01-07:00 summary: [3.13] GH-124478: Cleanup argparse documentation (GH-124877

[Python-checkins] gh-123849: Fix test_sqlite3.test_table_dump when foreign keys are enabled by default (#123859)

2024-10-08 Thread erlend-aasland
https://github.com/python/cpython/commit/14b44c58e195c4cdee6594a4aacf8bf95b19fcd7 commit: 14b44c58e195c4cdee6594a4aacf8bf95b19fcd7 branch: main author: Mariusz Felisiak committer: erlend-aasland date: 2024-10-08T22:46:11Z summary: gh-123849: Fix test_sqlite3.test_table_dump when foreign keys are

[Python-checkins] GH-124478: Cleanup argparse documentation (#124877)

2024-10-08 Thread JelleZijlstra
https://github.com/python/cpython/commit/37228bd16e3ef97d32da08848552f7ef016d68ab commit: 37228bd16e3ef97d32da08848552f7ef016d68ab branch: main author: Savannah Ostrowski committer: JelleZijlstra date: 2024-10-08T15:07:29-07:00 summary: GH-124478: Cleanup argparse documentation (#124877) Co-aut

[Python-checkins] [3.12] Tee of tee was not producing n independent iterators (gh-123884) (gh-125153)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/cf2532b39d099e004d1c07b2d0fcc46567b68e75 commit: cf2532b39d099e004d1c07b2d0fcc46567b68e75 branch: 3.12 author: Raymond Hettinger committer: rhettinger date: 2024-10-08T20:16:18Z summary: [3.12] Tee of tee was not producing n independent iterators (gh-1238

[Python-checkins] [3.13] Misc improvements to the itertools docs (gh-125147) (gh-125149)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/21a99add4563ccd145f426ceb95f35c3f6c54230 commit: 21a99add4563ccd145f426ceb95f35c3f6c54230 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-10-08T14:37:13-05:00 summary: [3.13] Mis

[Python-checkins] gh-116110: remove extra processing for the __signature__ attribute (GH-116234)

2024-10-08 Thread ethanfurman
https://github.com/python/cpython/commit/eafd14fbe0fd464b9d700f6d00137415193aa143 commit: eafd14fbe0fd464b9d700f6d00137415193aa143 branch: main author: Sergey B Kirpichev committer: ethanfurman date: 2024-10-08T12:36:03-07:00 summary: gh-116110: remove extra processing for the __signature__ attr

[Python-checkins] [3.13] Itertool docs: Minor clarifications, wording tweaks, spacing, and active voice. (gh-124690) (gh-125148)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/988cdccbe06cd938c83e4fd8dc4bfb6d88e6b9d8 commit: 988cdccbe06cd938c83e4fd8dc4bfb6d88e6b9d8 branch: 3.13 author: Raymond Hettinger committer: rhettinger date: 2024-10-08T14:29:15-05:00 summary: [3.13] Itertool docs: Minor clarifications, wording tweaks, spa

[Python-checkins] [3.13] Tee of tee was not producing n independent iterators (gh-123884) (gh-125081)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/7bc99dd49ed4cebe4795cc7914c4231209b2aa4b commit: 7bc99dd49ed4cebe4795cc7914c4231209b2aa4b branch: 3.13 author: Raymond Hettinger committer: rhettinger date: 2024-10-08T14:11:43-05:00 summary: [3.13] Tee of tee was not producing n independent iterators (gh

[Python-checkins] Misc improvements to the itertools docs (gh-125147)

2024-10-08 Thread rhettinger
https://github.com/python/cpython/commit/b2a7272408593355c4c8e1d2ce9018cf96691bea commit: b2a7272408593355c4c8e1d2ce9018cf96691bea branch: main author: Raymond Hettinger committer: rhettinger date: 2024-10-08T14:02:58-05:00 summary: Misc improvements to the itertools docs (gh-125147) files: M D

[Python-checkins] [3.12] gh-124832: Add a note to indicate that `datetime.now` may return the same instant (GH-124834) (#125146)

2024-10-08 Thread willingc
https://github.com/python/cpython/commit/382ee1c7bd292f964f5d97384b93dfbdf7b64061 commit: 382ee1c7bd292f964f5d97384b93dfbdf7b64061 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: willingc date: 2024-10-08T18:27:50Z summary: [3.12] gh-124832:

[Python-checkins] [3.13] gh-124832: Add a note to indicate that `datetime.now` may return the same instant (GH-124834) (#125145)

2024-10-08 Thread willingc
https://github.com/python/cpython/commit/f5fea4dec6a23f92ffd367d26648f7a6dbd7745e commit: f5fea4dec6a23f92ffd367d26648f7a6dbd7745e branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: willingc date: 2024-10-08T18:26:07Z summary: [3.13] gh-124832:

[Python-checkins] gh-124832: Add a note to indicate that `datetime.now` may return the same instant (#124834)

2024-10-08 Thread willingc
https://github.com/python/cpython/commit/760b1e103a0aa696cdf448e0d500cd1bac2213fa commit: 760b1e103a0aa696cdf448e0d500cd1bac2213fa branch: main author: spacemanspiff2007 <[email protected]> committer: willingc date: 2024-10-08T11:17:53-07:00 summary: gh-124832: A

[Python-checkins] gh-125063: Emit slices as constants in the bytecode compiler (#125064)

2024-10-08 Thread mdboom
https://github.com/python/cpython/commit/c6127af8685c2a9b416207e46089cee79d028b85 commit: c6127af8685c2a9b416207e46089cee79d028b85 branch: main author: Michael Droettboom committer: mdboom date: 2024-10-08T13:18:39-04:00 summary: gh-125063: Emit slices as constants in the bytecode compiler (#125

[Python-checkins] gh-125084: Resolve paths in generator common code (GH-125085)

2024-10-08 Thread zware
https://github.com/python/cpython/commit/7dca7322cca7ff146444e56f28f21f1090987fff commit: 7dca7322cca7ff146444e56f28f21f1090987fff branch: main author: Cody Maloney committer: zware date: 2024-10-08T12:16:02-05:00 summary: gh-125084: Resolve paths in generator common code (GH-125085) In out of

[Python-checkins] [3.13] gh-117721: use PyMutex in `_thread.lock` (#125110) (#125116)

2024-10-08 Thread kumaraditya303
https://github.com/python/cpython/commit/20242a437c116c93a82635879689f29f3910f436 commit: 20242a437c116c93a82635879689f29f3910f436 branch: 3.13 author: Kumar Aditya committer: kumaraditya303 date: 2024-10-08T21:16:48+05:30 summary: [3.13] gh-117721: use PyMutex in `_thread.lock` (#125110) (#1251

[Python-checkins] gh-117721: use PyMutex in `_thread.lock` (#125110)

2024-10-08 Thread kumaraditya303
https://github.com/python/cpython/commit/fca552993da32044165223eec2297b6c60ad commit: fca552993da32044165223eec2297b6c60ad branch: main author: Kumar Aditya committer: kumaraditya303 date: 2024-10-08T20:17:32+05:30 summary: gh-117721: use PyMutex in `_thread.lock` (#125110) files: M Mod

[Python-checkins] [3.10] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebrew's gdbm 1.24 (#125112)

2024-10-08 Thread ambv
https://github.com/python/cpython/commit/850189a64e7f0b920fe48cb12a5da3e648435680 commit: 850189a64e7f0b920fe48cb12a5da3e648435680 branch: 3.10 author: Petr Viktorin committer: ambv date: 2024-10-08T16:37:22+02:00 summary: [3.10] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebre

[Python-checkins] gh-124502: Optimize unicode_eq() (#125105)

2024-10-08 Thread vstinner
https://github.com/python/cpython/commit/c203955f3b433e06118d00a2fe7215546a0b7fe6 commit: c203955f3b433e06118d00a2fe7215546a0b7fe6 branch: main author: Victor Stinner committer: vstinner date: 2024-10-08T16:25:24+02:00 summary: gh-124502: Optimize unicode_eq() (#125105) files: M Objects/stringl

[Python-checkins] [3.13] gh-112433 add versionadded for `ctypes.Structure._align_` (GH-125087) (#125113)

2024-10-08 Thread JelleZijlstra
https://github.com/python/cpython/commit/089c6d2961984ac8b10fc8a217b79555b61fd9eb commit: 089c6d2961984ac8b10fc8a217b79555b61fd9eb branch: 3.13 author: Jelle Zijlstra committer: JelleZijlstra date: 2024-10-08T14:24:27Z summary: [3.13] gh-112433 add versionadded for `ctypes.Structure._align_` (GH

[Python-checkins] [3.13] gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097) (#125111)

2024-10-08 Thread vstinner
https://github.com/python/cpython/commit/5df6a756a56ff77eb9341de5e3764e582ef3fcf0 commit: 5df6a756a56ff77eb9341de5e3764e582ef3fcf0 branch: 3.13 author: Victor Stinner committer: vstinner date: 2024-10-08T14:20:05Z summary: [3.13] gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125

[Python-checkins] gh-115999: Stop the world when invalidating function versions (#124997)

2024-10-08 Thread colesbury
https://github.com/python/cpython/commit/e99f159be4f70cf9e40865d638e79fa426968827 commit: e99f159be4f70cf9e40865d638e79fa426968827 branch: main author: mpage committer: colesbury date: 2024-10-08T10:04:35-04:00 summary: gh-115999: Stop the world when invalidating function versions (#124997) Sto

[Python-checkins] gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097)

2024-10-08 Thread vstinner
https://github.com/python/cpython/commit/65ce228d63878d8b6d0005f682e89ad9d5289c4b commit: 65ce228d63878d8b6d0005f682e89ad9d5289c4b branch: main author: Victor Stinner committer: vstinner date: 2024-10-08T15:48:40+02:00 summary: gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#12509

[Python-checkins] gh-112433 add versionadded for `ctypes.Structure._align_` (#125087)

2024-10-08 Thread kumaraditya303
https://github.com/python/cpython/commit/5967dd8a4de60a418de84d1d1d9efc063ad12c47 commit: 5967dd8a4de60a418de84d1d1d9efc063ad12c47 branch: main author: monkeyman192 committer: kumaraditya303 date: 2024-10-08T12:41:46Z summary: gh-112433 add versionadded for `ctypes.Structure._align_` (#125087)

[Python-checkins] [3.12] Doc: Improve description of ``GET_LEN`` opcode (GH-114583) (#125103)

2024-10-08 Thread kumaraditya303
https://github.com/python/cpython/commit/65272a382b9536e1c53484a58f0f9c392e2ca872 commit: 65272a382b9536e1c53484a58f0f9c392e2ca872 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2024-10-08T12:32:04Z summary: [3.12] Doc:

[Python-checkins] [3.13] Doc: Improve description of ``GET_LEN`` opcode (GH-114583) (#125102)

2024-10-08 Thread kumaraditya303
https://github.com/python/cpython/commit/0a63c6603590f339c06e4305e8e6857d702788a9 commit: 0a63c6603590f339c06e4305e8e6857d702788a9 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2024-10-08T12:30:52Z summary: [3.13] Doc:

[Python-checkins] Doc: Improve description of ``GET_LEN`` opcode (#114583)

2024-10-08 Thread kumaraditya303
https://github.com/python/cpython/commit/e8773e59a835d23b9648271e0eb79c1651581564 commit: e8773e59a835d23b9648271e0eb79c1651581564 branch: main author: Kirill Podoprigora committer: kumaraditya303 date: 2024-10-08T17:55:40+05:30 summary: Doc: Improve description of ``GET_LEN`` opcode (#114583)

[Python-checkins] gh-121404: typo fix in compile.c: MATADATA -> METADATA (#125101)

2024-10-08 Thread iritkatriel
https://github.com/python/cpython/commit/9a35d053383c87d577ea09951bc9740704f4788d commit: 9a35d053383c87d577ea09951bc9740704f4788d branch: main author: Mikhail Efimov committer: iritkatriel <[email protected]> date: 2024-10-08T12:18:28Z summary: gh-121404: typo fix in c

[Python-checkins] [3.13] gh-123378: fix a crash in `UnicodeError.__str__` (GH-124935) (#125099)

2024-10-08 Thread vstinner
https://github.com/python/cpython/commit/84991153dad8950cd528e23d43c2e77f42002e33 commit: 84991153dad8950cd528e23d43c2e77f42002e33 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-10-08T12:06:57Z summary: [3.13] gh-123378:

[Python-checkins] gh-75898: make use of thread more explicit in the "Socket Programming HOWTO" document (#125023)

2024-10-08 Thread kumaraditya303
https://github.com/python/cpython/commit/9047146e546599325cddda266e420f42fb318e4e commit: 9047146e546599325cddda266e420f42fb318e4e branch: main author: Jan Kaliszewski committer: kumaraditya303 date: 2024-10-08T17:43:37+05:30 summary: gh-75898: make use of thread more explicit in the "Socket Pro

[Python-checkins] [3.12] gh-123378: fix a crash in `UnicodeError.__str__` (GH-124935) (#125098)

2024-10-08 Thread vstinner
https://github.com/python/cpython/commit/d3b437cb7816d0163dbc3495889e87ebc22e56a0 commit: d3b437cb7816d0163dbc3495889e87ebc22e56a0 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-10-08T11:56:18Z summary: [3.12] gh-123378:

[Python-checkins] gh-90102: Fix pyio _isatty_open_only() (#125089)

2024-10-08 Thread vstinner
https://github.com/python/cpython/commit/43ad3b51707f51ae4b434e2b5950d2c8bf7cca6e commit: 43ad3b51707f51ae4b434e2b5950d2c8bf7cca6e branch: main author: Cody Maloney committer: vstinner date: 2024-10-08T11:49:50Z summary: gh-90102: Fix pyio _isatty_open_only() (#125089) Spotted by @ngnpope. `is

[Python-checkins] gh-123961: Convert _curses to a multi-phase init module (PEP-489) (#124965)

2024-10-08 Thread vstinner
https://github.com/python/cpython/commit/e4292c041018dd9e831e541b515fec1119f92690 commit: e4292c041018dd9e831e541b515fec1119f92690 branch: main author: Bénédikt Tran <[email protected]> committer: vstinner date: 2024-10-08T13:42:44+02:00 summary: gh-123961: Convert _curses

[Python-checkins] gh-123378: fix a crash in `UnicodeError.__str__` (#124935)

2024-10-08 Thread vstinner
https://github.com/python/cpython/commit/ba14dfafd97d1fd03938ac8ddec4ca5b2f12985d commit: ba14dfafd97d1fd03938ac8ddec4ca5b2f12985d branch: main author: Bénédikt Tran <[email protected]> committer: vstinner date: 2024-10-08T13:37:59+02:00 summary: gh-123378: fix a crash in

[Python-checkins] [3.13] gh-118658: Modify cert generation script to extract cert3.pem (GH-124598) (GH-124972)

2024-10-08 Thread encukou
https://github.com/python/cpython/commit/4eab6e8d2963b52c0c3d00895d6711924214ce38 commit: 4eab6e8d2963b52c0c3d00895d6711924214ce38 branch: 3.13 author: Felix Fontein committer: encukou date: 2024-10-08T13:37:30+02:00 summary: [3.13] gh-118658: Modify cert generation script to extract cert3.pem

[Python-checkins] [3.12] gh-53203: Improve tests for strptime() (GH-125090) (GH-125093)

2024-10-08 Thread serhiy-storchaka
https://github.com/python/cpython/commit/82257374b9d10bc3df2a466fe4450a5dc576842d commit: 82257374b9d10bc3df2a466fe4450a5dc576842d branch: 3.12 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-10-08T09:47:37Z summary: [3.12] gh-53203: Improve tests for strptime() (GH-125090) (GH-1

[Python-checkins] [3.13] bpo-34206: Improve docs and test coverage for pre-init functions (GH-8023) (#125092)

2024-10-08 Thread ncoghlan
https://github.com/python/cpython/commit/64391363ede1dd7af6566db4c9b6e4dbce3b6cb5 commit: 64391363ede1dd7af6566db4c9b6e4dbce3b6cb5 branch: 3.13 author: Alyssa Coghlan committer: ncoghlan date: 2024-10-08T09:30:06Z summary: [3.13] bpo-34206: Improve docs and test coverage for pre-init functions

[Python-checkins] [3.13] gh-53203: Improve tests for strptime() (GH-125090) (GH-125091)

2024-10-08 Thread serhiy-storchaka
https://github.com/python/cpython/commit/9e61aa9b389a79412fb5bf757e3b9131527256a7 commit: 9e61aa9b389a79412fb5bf757e3b9131527256a7 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-10-08T12:12:15+03:00 summary: [3.1

[Python-checkins] gh-53203: Improve tests for strptime() (GH-125090)

2024-10-08 Thread serhiy-storchaka
https://github.com/python/cpython/commit/19984fe024bfd90649f1c36b78c9abf3ed72b27d commit: 19984fe024bfd90649f1c36b78c9abf3ed72b27d branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-10-08T08:40:02Z summary: gh-53203: Improve tests for strptime() (GH-125090) Run them wi

[Python-checkins] bpo-34206: Improve docs and test coverage for pre-init functions (#8023)

2024-10-08 Thread ncoghlan
https://github.com/python/cpython/commit/7c4b6a68f263320a2dd19cd5ff63b35c964b1fa8 commit: 7c4b6a68f263320a2dd19cd5ff63b35c964b1fa8 branch: main author: Alyssa Coghlan committer: ncoghlan date: 2024-10-08T08:34:11Z summary: bpo-34206: Improve docs and test coverage for pre-init functions (#8023)

[Python-checkins] gh-69998: Fix decoding error in locale.nl_langinfo() (GH-124963)

2024-10-08 Thread serhiy-storchaka
https://github.com/python/cpython/commit/93b9e6bd7d48150d8a5d16cea39246a980e073cb commit: 93b9e6bd7d48150d8a5d16cea39246a980e073cb branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-10-08T11:27:49+03:00 summary: gh-69998: Fix decoding error in locale.nl_langinfo() (GH-1

[Python-checkins] [3.13] gh-85935: Improve tests for invalid arguments in test_argparse (GH-124891) (GH-124901)

2024-10-08 Thread serhiy-storchaka
https://github.com/python/cpython/commit/ea2ccb3d436b8909555c3684f1137485afc12731 commit: ea2ccb3d436b8909555c3684f1137485afc12731 branch: 3.13 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-10-08T11:19:30+03:00 summary: [3.13] gh-85935: Improve tests for invalid arguments in te

[Python-checkins] [3.13] gh-70870: Clarify dual usage of 'free variable' (GH-122545) (#125088)

2024-10-08 Thread ncoghlan
https://github.com/python/cpython/commit/0e0a2dadecae8342782dde5694d1269f248a5473 commit: 0e0a2dadecae8342782dde5694d1269f248a5473 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ncoghlan date: 2024-10-08T17:58:47+10:00 summary: [3.13] gh-70

[Python-checkins] gh-70870: Clarify dual usage of 'free variable' (#122545)

2024-10-08 Thread ncoghlan
https://github.com/python/cpython/commit/27390990fa9306e2a797a4eb2bd83c5bfc7cb186 commit: 27390990fa9306e2a797a4eb2bd83c5bfc7cb186 branch: main author: Alyssa Coghlan committer: ncoghlan date: 2024-10-08T07:52:12Z summary: gh-70870: Clarify dual usage of 'free variable' (#122545) The term "free