[Python-checkins] gh-139871: Optimize small takes in bytearray.take_bytes (GH-141741)

2025-11-19 Thread encukou
https://github.com/python/cpython/commit/e265ce8a563ba7f91c5ada0592de8cb85622b433 commit: e265ce8a563ba7f91c5ada0592de8cb85622b433 branch: main author: Cody Maloney committer: encukou date: 2025-11-20T08:49:05+01:00 summary: gh-139871: Optimize small takes in bytearray.take_bytes (GH-141741) Wh

[Python-checkins] [3.14] gh-141489: Simplify closure/freevar iteration in `annotationlib._build_closure()` (GH-141490) (#141776)

2025-11-19 Thread JelleZijlstra
https://github.com/python/cpython/commit/83cfd87568b99539cb6ce30220177101f890d6b3 commit: 83cfd87568b99539cb6ce30220177101f890d6b3 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2025-11-20T04:33:18Z summary: [3.14] gh-14

[Python-checkins] gh-141489: Simplify closure/freevar iteration in `annotationlib._build_closure()` (#141490)

2025-11-19 Thread JelleZijlstra
https://github.com/python/cpython/commit/a35c683da55e77c96828fd0421640787337cfc64 commit: a35c683da55e77c96828fd0421640787337cfc64 branch: main author: dr-carlos <[email protected]> committer: JelleZijlstra date: 2025-11-19T18:08:08-10:00 summary: gh-141489: Simplify clo

[Python-checkins] gh-141615: Check stdin instead of stdout for use_rawinput in pdb (#141616)

2025-11-19 Thread gaogaotiantian
https://github.com/python/cpython/commit/bc9b9d47f9d649661c9c0c3e042ad9e559b9c81e commit: bc9b9d47f9d649661c9c0c3e042ad9e559b9c81e branch: main author: Tian Gao committer: gaogaotiantian date: 2025-11-19T18:41:25-08:00 summary: gh-141615: Check stdin instead of stdout for use_rawinput in pdb (#1

[Python-checkins] [Docs] Fix typo in bdb: `is_skipped_line` to `is_skipped_module` (#141771)

2025-11-19 Thread gaogaotiantian
https://github.com/python/cpython/commit/e5adaafc52060ece7232ee074a7133b78fe01f9e commit: e5adaafc52060ece7232ee074a7133b78fe01f9e branch: main author: Guo Ci committer: gaogaotiantian date: 2025-11-19T18:39:54-08:00 summary: [Docs] Fix typo in bdb: `is_skipped_line` to `is_skipped_module` (#141

[Python-checkins] [3.14] gh-132657: optimize `PySet_Contains` for `frozenset` (GH-141183) (gh-141773)

2025-11-19 Thread nascheme
https://github.com/python/cpython/commit/072eeaf84cdc4cae4a7e6a72c408b3281fba2b26 commit: 072eeaf84cdc4cae4a7e6a72c408b3281fba2b26 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: nascheme date: 2025-11-19T17:01:49-08:00 summary: [3.14] gh-13

[Python-checkins] [3.14] gh-132657: avoid locks and refcounting in `frozenset` lookups (GH-136107) (gh-141772)

2025-11-19 Thread nascheme
https://github.com/python/cpython/commit/c05e71f61ec17a730513dc28f37814b97ad5e053 commit: c05e71f61ec17a730513dc28f37814b97ad5e053 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: nascheme date: 2025-11-19T17:00:42-08:00 summary: [3.14] gh-13

[Python-checkins] Simplify setting CLI options for WASI builds (GH-141769)

2025-11-19 Thread brettcannon
https://github.com/python/cpython/commit/ca1e86f9d963dc298d9a486d5230b1b3a9f32245 commit: ca1e86f9d963dc298d9a486d5230b1b3a9f32245 branch: main author: Brett Cannon committer: brettcannon date: 2025-11-19T15:57:44-08:00 summary: Simplify setting CLI options for WASI builds (GH-141769) This intr

[Python-checkins] [3.13] Remove GvR from '_stdauthor' in Doc/conf.py (GH-141765) (#141768)

2025-11-19 Thread hugovk
https://github.com/python/cpython/commit/2ebe68570296997ca39342ae31b1586f1ce84e9d commit: 2ebe68570296997ca39342ae31b1586f1ce84e9d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-11-1

[Python-checkins] [3.14] Remove GvR from '_stdauthor' in Doc/conf.py (GH-141765) (#141767)

2025-11-19 Thread hugovk
https://github.com/python/cpython/commit/f6552d2c58163fe89c38fea93099936b6d997e12 commit: f6552d2c58163fe89c38fea93099936b6d997e12 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-11-1

[Python-checkins] Remove GvR from '_stdauthor' in Doc/conf.py (#141765)

2025-11-19 Thread hugovk
https://github.com/python/cpython/commit/b4344f7020f066e83a113e0d4f9343cec4e56a1e commit: b4344f7020f066e83a113e0d4f9343cec4e56a1e branch: main author: Guido van Rossum committer: hugovk <[email protected]> date: 2025-11-19T22:30:01+02:00 summary: Remove GvR from '_stdauthor

[Python-checkins] [3.14] Move the NEWS entry for gh-141659 to the correct section (GH-141744) (GH-141766)

2025-11-19 Thread serhiy-storchaka
https://github.com/python/cpython/commit/8eed63e97329407a77174f2fa2ed415136191654 commit: 8eed63e97329407a77174f2fa2ed415136191654 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-11-19T20:17:51Z summary: [3.14] Mo

[Python-checkins] Move the NEWS entry for gh-141659 to the correct section (GH-141744)

2025-11-19 Thread serhiy-storchaka
https://github.com/python/cpython/commit/fbc31d14ffaae1f252865db52fc7f5f6311e7b1a commit: fbc31d14ffaae1f252865db52fc7f5f6311e7b1a branch: main author: Ayappan Perumal committer: serhiy-storchaka date: 2025-11-19T22:12:10+02:00 summary: Move the NEWS entry for gh-141659 to the correct section (G

[Python-checkins] [3.13] gh-141004: Document `Py_LOCAL` and `Py_LOCAL_INLINE` (GH-141725) (GH-141762)

2025-11-19 Thread ZeroIntensity
https://github.com/python/cpython/commit/49ac2bbe02bc88bcb759d96de202eca9d960aec6 commit: 49ac2bbe02bc88bcb759d96de202eca9d960aec6 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ZeroIntensity date: 2025-11-19T18:38:53Z summary: [3.13] gh-14

[Python-checkins] [3.14] gh-141004: Document `Py_LOCAL` and `Py_LOCAL_INLINE` (GH-141725) (GH-141761)

2025-11-19 Thread ZeroIntensity
https://github.com/python/cpython/commit/d05be327588aeb39c69eac1585af78055981ca52 commit: d05be327588aeb39c69eac1585af78055981ca52 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: ZeroIntensity date: 2025-11-19T18:38:09Z summary: [3.14] gh-14

[Python-checkins] gh-141004: Document `Py_LOCAL` and `Py_LOCAL_INLINE` (GH-141725)

2025-11-19 Thread ZeroIntensity
https://github.com/python/cpython/commit/3149d64c93f02217eb01c0fd82c26a685b5281c1 commit: 3149d64c93f02217eb01c0fd82c26a685b5281c1 branch: main author: Stan Ulbrych <[email protected]> committer: ZeroIntensity date: 2025-11-19T13:32:18-05:00 summary: gh-141004: Doc

[Python-checkins] gh-141721: Improve docstring for LastUpdatedOrderedDict example (gh141724)

2025-11-19 Thread rhettinger
https://github.com/python/cpython/commit/01713b434233247bc54b04512ba5bc15ab364768 commit: 01713b434233247bc54b04512ba5bc15ab364768 branch: main author: Luciano Ramalho committer: rhettinger date: 2025-11-19T12:22:27-06:00 summary: gh-141721: Improve docstring for LastUpdatedOrderedDict example (

[Python-checkins] gh-141172: Update to wasi-sdk-29 (GH-141684)

2025-11-19 Thread brettcannon
https://github.com/python/cpython/commit/9b69a55be32fa85da5a08a519ebed6aa3b31ec3a commit: 9b69a55be32fa85da5a08a519ebed6aa3b31ec3a branch: main author: Alex Crichton committer: brettcannon date: 2025-11-19T10:03:30-08:00 summary: gh-141172: Update to wasi-sdk-29 (GH-141684) This commit updates

[Python-checkins] gh-41779: Allow defining the __dict__ and __weakref__ __slots__ for any class (GH-141755)

2025-11-19 Thread serhiy-storchaka
https://github.com/python/cpython/commit/4bcab461c2185517284ae9764cca26fa4519a6e9 commit: 4bcab461c2185517284ae9764cca26fa4519a6e9 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-11-19T17:11:37Z summary: gh-41779: Allow defining the __dict__ and __weakref__ __slots__

[Python-checkins] GH-140638: Add a GC "duration" stat (GH-141720)

2025-11-19 Thread brandtbucher
https://github.com/python/cpython/commit/598d4c64deeec1857614007d1a2f0403508fe047 commit: 598d4c64deeec1857614007d1a2f0403508fe047 branch: main author: Brandt Bucher committer: brandtbucher date: 2025-11-19T08:51:39-08:00 summary: GH-140638: Add a GC "duration" stat (GH-141720) files: A Misc/N

[Python-checkins] [3.14] gh-139103: fix free-threading `dataclass.__init__` perf issue (gh-141596) (gh-141750)

2025-11-19 Thread colesbury
https://github.com/python/cpython/commit/b7c25eabd6d93e745c7216b42d026e6a36795724 commit: b7c25eabd6d93e745c7216b42d026e6a36795724 branch: 3.14 author: Sam Gross committer: colesbury date: 2025-11-19T15:00:51Z summary: [3.14] gh-139103: fix free-threading `dataclass.__init__` perf issue (gh-141

[Python-checkins] [3.14] gh-141570: can_colorize: Expect fileno() to raise OSError, as documented (GH-141716) (#141747)

2025-11-19 Thread vstinner
https://github.com/python/cpython/commit/8c796889ff85611cc1cfcc93a2793b92579f2662 commit: 8c796889ff85611cc1cfcc93a2793b92579f2662 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-11-19T14:29:15Z summary: [3.14] gh-141570:

[Python-checkins] [3.13] gh-141570: can_colorize: Expect fileno() to raise OSError, as documented (#141716) (#141748)

2025-11-19 Thread vstinner
https://github.com/python/cpython/commit/a0cbdd84afd7526a2cb31bfc606170cca492e32e commit: a0cbdd84afd7526a2cb31bfc606170cca492e32e branch: 3.13 author: Victor Stinner committer: vstinner date: 2025-11-19T14:28:31Z summary: [3.13] gh-141570: can_colorize: Expect fileno() to raise OSError, as docu

[Python-checkins] gh-138072: Small clarifications and phrasing improvements to asyncio HOWTO (#138073)

2025-11-19 Thread willingc
https://github.com/python/cpython/commit/b3b63e8d6d296b879fddb5998b50f8c3842ca71c commit: b3b63e8d6d296b879fddb5998b50f8c3842ca71c branch: main author: Alexander Nordin committer: willingc date: 2025-11-19T08:16:03-06:00 summary: gh-138072: Small clarifications and phrasing improvements to async

[Python-checkins] gh-141570: can_colorize: Expect fileno() to raise OSError, as documented (#141716)

2025-11-19 Thread vstinner
https://github.com/python/cpython/commit/96f496a949b05054d0d043c3085f00cec2f83bf5 commit: 96f496a949b05054d0d043c3085f00cec2f83bf5 branch: main author: Miro HronĨok committer: vstinner date: 2025-11-19T15:02:52+01:00 summary: gh-141570: can_colorize: Expect fileno() to raise OSError, as document

[Python-checkins] gh-135953: Avoid BytesWarning when sampling profiler tests fail (GH-141719)

2025-11-19 Thread encukou
https://github.com/python/cpython/commit/e2178743feab3964a25578b0c0bd3ed1a5ed6f75 commit: e2178743feab3964a25578b0c0bd3ed1a5ed6f75 branch: main author: Petr Viktorin committer: encukou date: 2025-11-19T14:43:42+01:00 summary: gh-135953: Avoid BytesWarning when sampling profiler tests fail (GH-14

[Python-checkins] [3.14] gh-140875: Fix handling of unclosed charrefs before EOF in HTMLParser (GH-140904) (GH-141745)

2025-11-19 Thread serhiy-storchaka
https://github.com/python/cpython/commit/562e23f9d53077a10c363edff79a4232b052dcae commit: 562e23f9d53077a10c363edff79a4232b052dcae branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-11-19T12:43:24Z summary: [3.14] gh

[Python-checkins] [3.13] gh-140875: Fix handling of unclosed charrefs before EOF in HTMLParser (GH-140904) (GH-141746)

2025-11-19 Thread serhiy-storchaka
https://github.com/python/cpython/commit/c7064e7d6b58a1609475c6cc39b7c37093d0ed78 commit: c7064e7d6b58a1609475c6cc39b7c37093d0ed78 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-11-19T12:17:54Z summary: [3.13] gh

[Python-checkins] gh-140875: Fix handling of unclosed charrefs before EOF in HTMLParser (GH-140904)

2025-11-19 Thread serhiy-storchaka
https://github.com/python/cpython/commit/95296a9d40aa2d58502a09e86e2a93c03df23366 commit: 95296a9d40aa2d58502a09e86e2a93c03df23366 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-11-19T13:55:10+02:00 summary: gh-140875: Fix handling of unclosed charrefs before EOF in

[Python-checkins] gh-141726: Add PyDict_SetDefaultRef() to the Stable ABI (#141727)

2025-11-19 Thread vstinner
https://github.com/python/cpython/commit/afa0badcc587ea7500e2b4dd2ea269f8bbda5fb2 commit: afa0badcc587ea7500e2b4dd2ea269f8bbda5fb2 branch: main author: da-woods committer: vstinner date: 2025-11-19T11:38:10Z summary: gh-141726: Add PyDict_SetDefaultRef() to the Stable ABI (#141727) Co-authored-

[Python-checkins] [3.13] Correct class name from PullDom to PullDOM (GH-141207) (#141742)

2025-11-19 Thread hugovk
https://github.com/python/cpython/commit/26d831327dcff9520bc073c85cad6eb337539a75 commit: 26d831327dcff9520bc073c85cad6eb337539a75 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-11-1

[Python-checkins] [3.14] Correct class name from PullDom to PullDOM (GH-141207) (#141743)

2025-11-19 Thread hugovk
https://github.com/python/cpython/commit/36ad4be1d96281e3642ad9f89d2128cc4da0ff5b commit: 36ad4be1d96281e3642ad9f89d2128cc4da0ff5b branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-11-1

[Python-checkins] Correct class name from PullDom to PullDOM (#141207)

2025-11-19 Thread hugovk
https://github.com/python/cpython/commit/52f70a6f60254fec5297d1ff731b6c1ebc52ec24 commit: 52f70a6f60254fec5297d1ff731b6c1ebc52ec24 branch: main author: Guo Ci committer: hugovk <[email protected]> date: 2025-11-19T12:30:53+02:00 summary: Correct class name from PullDom to Pu

[Python-checkins] GH-139653: Only raise an exception (or fatal error) when the stack pointer is about to overflow the stack. (GH-141711)

2025-11-19 Thread markshannon
https://github.com/python/cpython/commit/c25a070759952b13f97ecc37ca2991c2669aee47 commit: c25a070759952b13f97ecc37ca2991c2669aee47 branch: main author: Mark Shannon committer: markshannon date: 2025-11-19T10:16:24Z summary: GH-139653: Only raise an exception (or fatal error) when the stack point

[Python-checkins] [3.14] gh-138189: Link references to type slots (GH-141410) (GH-141718)

2025-11-19 Thread encukou
https://github.com/python/cpython/commit/ff8829892aa2a4a738bc0129294c9ec735daea05 commit: ff8829892aa2a4a738bc0129294c9ec735daea05 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: encukou date: 2025-11-19T10:30:11+01:00 summary: [3.14] gh-138

[Python-checkins] [3.14] gh-141659: Fix bad file descriptor error in subprocess on AIX (GH-141660) (GH-141738)

2025-11-19 Thread serhiy-storchaka
https://github.com/python/cpython/commit/7cb15f93fe53931aae9fc0e61e07354fd66cab9c commit: 7cb15f93fe53931aae9fc0e61e07354fd66cab9c branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-11-19T08:05:01Z summary: [3.14] gh