[Python-checkins] gh-106320: Document private C APIs promoted to public C API (#128788)

2025-01-13 Thread vstinner
https://github.com/python/cpython/commit/41f73501eca2ff8b42fa4811d918a81c052a758b commit: 41f73501eca2ff8b42fa4811d918a81c052a758b branch: main author: Victor Stinner committer: vstinner date: 2025-01-14T08:44:20+01:00 summary: gh-106320: Document private C APIs promoted to public C API (#128788

[Python-checkins] [3.13] gh-125997: Increase test coverage for `time.sleep()` (GH-128751) (#128796)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/f2a2809683d4181f21a9816b896151338dced219 commit: f2a2809683d4181f21a9816b896151338dced219 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2025-0

[Python-checkins] [3.12] gh-125997: Increase test coverage for `time.sleep()` (GH-128751) (#128795)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/e7400d787734ecf1ee3ae7a877ecf9aaeb76cf6c commit: e7400d787734ecf1ee3ae7a877ecf9aaeb76cf6c branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2025-0

[Python-checkins] gh-125997: Increase test coverage for `time.sleep()` (#128751)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/b70a567575db37846beecbe8b40fb56b875274db commit: b70a567575db37846beecbe8b40fb56b875274db branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-01-13T17:58:11+

[Python-checkins] [3.13] Explicitly import `urllib.error` in `urllib.robotparser` (GH-128737) (#128793)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/1079619073b3eaf4c750dde9367c68c709d5f68d commit: 1079619073b3eaf4c750dde9367c68c709d5f68d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2025-0

[Python-checkins] [3.13] gh-128731: Explicitly close socket on error in robotparser.RobotFileParser.read() (GH-128733) (GH-128755)

2025-01-13 Thread serhiy-storchaka
https://github.com/python/cpython/commit/a8686288366a6149a59d8ef66f9c44b608cda974 commit: a8686288366a6149a59d8ef66f9c44b608cda974 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-01-13T16:44:49Z summary: [3.13] gh

[Python-checkins] [3.12] Explicitly import `urllib.error` in `urllib.robotparser` (GH-128737) (#128794)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/552b2a0f6eef913f5de8d6c9927296e7c30198f1 commit: 552b2a0f6eef913f5de8d6c9927296e7c30198f1 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2025-0

[Python-checkins] [3.12] gh-128562: Fix generation of the tkinter widget names (GH-128604) (GH-128792)

2025-01-13 Thread serhiy-storchaka
https://github.com/python/cpython/commit/ca5ff6b40c8e8223c3d105f161c51e3f8254ed48 commit: ca5ff6b40c8e8223c3d105f161c51e3f8254ed48 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-01-13T18:23:53+02:00 summary: [3.1

[Python-checkins] [3.13] gh-128562: Fix generation of the tkinter widget names (GH-128604) (GH-128791)

2025-01-13 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b1065767b4c1cbc8f98905e265a65a6a5189a185 commit: b1065767b4c1cbc8f98905e265a65a6a5189a185 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-01-13T18:23:33+02:00 summary: [3.1

[Python-checkins] Explicitly import `urllib.error` in `urllib.robotparser` (#128737)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/53e8942e6938df3a32b783815f1bd4b76eed3dd0 commit: 53e8942e6938df3a32b783815f1bd4b76eed3dd0 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-01-13T17:14:59+

[Python-checkins] gh-128562: Fix generation of the tkinter widget names (GH-128604)

2025-01-13 Thread serhiy-storchaka
https://github.com/python/cpython/commit/da8825ea95a7096bb4f933d33b212a94ade10f6e commit: da8825ea95a7096bb4f933d33b212a94ade10f6e branch: main author: Zhikang Yan <[email protected]> committer: serhiy-storchaka date: 2025-01-13T15:54:46Z summary: gh-128562: Fix generation of the tkinter widget n

[Python-checkins] gh-128078: Use `PyErr_SetRaisedException` in `_PyGen_SetStopIterationValue` (#128287)

2025-01-13 Thread kumaraditya303
https://github.com/python/cpython/commit/402b91da87052878b4e7e8946ba91bdf4ee4bebe commit: 402b91da87052878b4e7e8946ba91bdf4ee4bebe branch: main author: Bénédikt Tran <[email protected]> committer: kumaraditya303 date: 2025-01-13T21:24:13+05:30 summary: gh-128078: Use `PyEr

[Python-checkins] gh-128002: add more thread safety tests for asyncio (#128480)

2025-01-13 Thread kumaraditya303
https://github.com/python/cpython/commit/3efe28a40b136164f0d33c4f84dfcef7e123d1a0 commit: 3efe28a40b136164f0d33c4f84dfcef7e123d1a0 branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-01-13T15:36:55Z summary: gh-128002: add more thread safety tests for asyncio (#128480) files:

[Python-checkins] gh-128421: make getters and setters of `BaseException` thread safe (#128728)

2025-01-13 Thread kumaraditya303
https://github.com/python/cpython/commit/75214f87f1ddd1d7b9a5b663a9c688b1bd41c098 commit: 75214f87f1ddd1d7b9a5b663a9c688b1bd41c098 branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-01-13T20:08:33+05:30 summary: gh-128421: make getters and setters of `BaseException` thread sa

[Python-checkins] gh-128400: Only show the current thread in `Py_FatalError` on the free-threaded build (#128758)

2025-01-13 Thread kumaraditya303
https://github.com/python/cpython/commit/bf64a582f00a030fee11b7f89c6a02ea967990ca commit: bf64a582f00a030fee11b7f89c6a02ea967990ca branch: main author: Peter Bierma committer: kumaraditya303 date: 2025-01-13T20:06:54+05:30 summary: gh-128400: Only show the current thread in `Py_FatalError` on th

[Python-checkins] gh-111178: fix UBSan failures in `Objects/codeobject.c` (GH-128240)

2025-01-13 Thread encukou
https://github.com/python/cpython/commit/4533036e50f1e604e8c06710d9e19dd700f89c1c commit: 4533036e50f1e604e8c06710d9e19dd700f89c1c branch: main author: Bénédikt Tran <[email protected]> committer: encukou date: 2025-01-13T14:25:04+01:00 summary: gh-78: fix UBSan failur

[Python-checkins] [3.13] gh-128078: Clear exception in `anext` before calling `_PyGen_SetStopIterationValue` (GH-128780) (#128785)

2025-01-13 Thread kumaraditya303
https://github.com/python/cpython/commit/66d06360252cd3dc26edfbe5d30c51aa7505524a commit: 66d06360252cd3dc26edfbe5d30c51aa7505524a branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2025-01-13T13:20:49Z summary: [3.13] gh-1

[Python-checkins] gh-128182: Add per-object memory access synchronization to `ctypes` (GH-128490)

2025-01-13 Thread encukou
https://github.com/python/cpython/commit/8dfc743a1dae499d3b116b81ef6aad78708c45bc commit: 8dfc743a1dae499d3b116b81ef6aad78708c45bc branch: main author: Peter Bierma committer: encukou date: 2025-01-13T14:17:38+01:00 summary: gh-128182: Add per-object memory access synchronization to `ctypes` (GH

[Python-checkins] [3.12] gh-128078: Clear exception in `anext` before calling `_PyGen_SetStopIterationValue` (GH-128780) (#128784)

2025-01-13 Thread kumaraditya303
https://github.com/python/cpython/commit/4facd7d119a63bcd598260e06977d6b792592b88 commit: 4facd7d119a63bcd598260e06977d6b792592b88 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2025-01-13T18:45:20+05:30 summary: [3.12]

[Python-checkins] gh-67748: DOC:Add summary table for str methods in stdtypes.rst (GH-1709)

2025-01-13 Thread encukou
https://github.com/python/cpython/commit/5044c2245c1519e117ba3977a4c8f608785326e7 commit: 5044c2245c1519e117ba3977a4c8f608785326e7 branch: main author: Cheryl Sabella committer: encukou date: 2025-01-13T14:14:59+01:00 summary: gh-67748: DOC:Add summary table for str methods in stdtypes.rst (GH-1

[Python-checkins] gh-127773: Disable attribute cache on incompatible MRO entries (GH-127924)

2025-01-13 Thread encukou
https://github.com/python/cpython/commit/aa6579cb60b4fcd652d7bc83fed2668e4ae84db3 commit: aa6579cb60b4fcd652d7bc83fed2668e4ae84db3 branch: main author: Petr Viktorin committer: encukou date: 2025-01-13T14:10:41+01:00 summary: gh-127773: Disable attribute cache on incompatible MRO entries (GH-127

[Python-checkins] gh-128078: Clear exception in `anext` before calling `_PyGen_SetStopIterationValue` (#128780)

2025-01-13 Thread kumaraditya303
https://github.com/python/cpython/commit/76ffaef729c91bb79da6df2ade48f3ec51118300 commit: 76ffaef729c91bb79da6df2ade48f3ec51118300 branch: main author: Bénédikt Tran <[email protected]> committer: kumaraditya303 date: 2025-01-13T18:25:09+05:30 summary: gh-128078: Clear exc

[Python-checkins] [3.13] gh-128759: fix data race in `type_modified_unlocked` (GH-128764) (#128769)

2025-01-13 Thread kumaraditya303
https://github.com/python/cpython/commit/632745ade18f5baa39e41613f86114d95c5dce73 commit: 632745ade18f5baa39e41613f86114d95c5dce73 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2025-01-13T18:09:39+05:30 summary: [3.13]

[Python-checkins] GH-128682: Stronger checking of `PyStackRef_CLOSE` and `DEAD`. (GH-128683)

2025-01-13 Thread markshannon
https://github.com/python/cpython/commit/517dc65ffcea8413e1a60c4cb5d63e5fa39e7f72 commit: 517dc65ffcea8413e1a60c4cb5d63e5fa39e7f72 branch: main author: Mark Shannon committer: markshannon date: 2025-01-13T12:37:48Z summary: GH-128682: Stronger checking of `PyStackRef_CLOSE` and `DEAD`. (GH-12868

[Python-checkins] [3.13] gh-128595: Add test class helper to force no terminal colour (GH-128687) (#128778)

2025-01-13 Thread hugovk
https://github.com/python/cpython/commit/afcf238ed482b0d492854214df74392be64e4abd commit: afcf238ed482b0d492854214df74392be64e4abd branch: 3.13 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-01-13T13:57:44+0

[Python-checkins] gh-128150: Improve performances of `uuid.uuid*` constructor functions. (#128151)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/6ff8f82f92a8af363b2bdd8bbaba5845eef430fc commit: 6ff8f82f92a8af363b2bdd8bbaba5845eef430fc branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-01-13T12:46:13+

[Python-checkins] GH-124483: Mark `Py_DECREF`, etc. as escaping for the JIT (GH-128678)

2025-01-13 Thread markshannon
https://github.com/python/cpython/commit/39fc7ef4fe211e8f7d3b5a6e392e475ecdfbce72 commit: 39fc7ef4fe211e8f7d3b5a6e392e475ecdfbce72 branch: main author: Mark Shannon committer: markshannon date: 2025-01-13T11:42:45Z summary: GH-124483: Mark `Py_DECREF`, etc. as escaping for the JIT (GH-128678) f

[Python-checkins] gh-128595: Add test class helper to force no terminal colour (#128687)

2025-01-13 Thread hugovk
https://github.com/python/cpython/commit/afb9dc887c6e8ae17b6a54c6124399e8bdc82253 commit: afb9dc887c6e8ae17b6a54c6124399e8bdc82253 branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-01-13T11:05:02Z

[Python-checkins] [3.12] gh-123345: improve `fnmatch` docs (GH-123346) (#128775)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/8448552579f94a9438ac9936c233b1d35f685ded commit: 8448552579f94a9438ac9936c233b1d35f685ded branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2025-0

[Python-checkins] [3.13] gh-123345: improve `fnmatch` docs (GH-123346) (#128776)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/05bd6cbe61737e1bee2a8138f1aff9e3211caa1e commit: 05bd6cbe61737e1bee2a8138f1aff9e3211caa1e branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2025-0

[Python-checkins] GH-128685: Specialize (rather than quicken) LOAD_CONST into LOAD_CONST_[IM]MORTAL (GH-128708)

2025-01-13 Thread markshannon
https://github.com/python/cpython/commit/ddd959987c557beaf823b681bf5e5e573ad657ac commit: ddd959987c557beaf823b681bf5e5e573ad657ac branch: main author: Mark Shannon committer: markshannon date: 2025-01-13T10:30:28Z summary: GH-128685: Specialize (rather than quicken) LOAD_CONST into LOAD_CONST_

[Python-checkins] gh-123345: improve `fnmatch` docs (#123346)

2025-01-13 Thread picnixz
https://github.com/python/cpython/commit/29fe8072cf404b891dde9c1d415095edddbe19de commit: 29fe8072cf404b891dde9c1d415095edddbe19de branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-01-13T11:21:22+

[Python-checkins] gh-128690: temporarily do not use test_embed in PGO profile builds (#128771)

2025-01-13 Thread ned-deily
https://github.com/python/cpython/commit/b00e1254fc00941bf91e41138940e73fd22e1cbf commit: b00e1254fc00941bf91e41138940e73fd22e1cbf branch: main author: Ned Deily committer: ned-deily date: 2025-01-13T04:02:18-05:00 summary: gh-128690: temporarily do not use test_embed in PGO profile builds (#128

[Python-checkins] gh-90905: Allow cross-compilation on macOS (#128385)

2025-01-13 Thread ned-deily
https://github.com/python/cpython/commit/6ecb620a0cae1b0b6183d1e6d0ae722013ca8cd2 commit: 6ecb620a0cae1b0b6183d1e6d0ae722013ca8cd2 branch: main author: Zanie Blue committer: ned-deily date: 2025-01-13T03:38:28-05:00 summary: gh-90905: Allow cross-compilation on macOS (#128385) files: A Misc/NEW