[Python-checkins] gh-77102: site: try utf-8 and fallback to locale encoding when reading .pth file (#117802)

2024-04-15 Thread methane
https://github.com/python/cpython/commit/6dc661bc9f65e9923eafbcdbf18bcc57eebbf6a4 commit: 6dc661bc9f65e9923eafbcdbf18bcc57eebbf6a4 branch: main author: Inada Naoki committer: methane date: 2024-04-16T12:56:16+09:00 summary: gh-77102: site: try utf-8 and fallback to locale encoding when reading .

[Python-checkins] gh-76785: Fix Windows Refleak in test_interpreters (gh-117913)

2024-04-15 Thread ericsnowcurrently
https://github.com/python/cpython/commit/3831144f9c8ce0fd582a0830a9e48a8da85e166a commit: 3831144f9c8ce0fd582a0830a9e48a8da85e166a branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-04-15T20:16:37-06:00 summary: gh-76785: Fix Windows Refleak in test_interpreters (gh-117913)

[Python-checkins] [3.12] gh-117804: Document how to suppress PGO unprofiled source warnings (GH-117859) (#117912)

2024-04-15 Thread erlend-aasland
https://github.com/python/cpython/commit/556fb3675c87ed1132caa5ccec94fc3f8778b1d7 commit: 556fb3675c87ed1132caa5ccec94fc3f8778b1d7 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: erlend-aasland date: 2024-04-15T21:24:35Z summary: [3.12] gh-1

[Python-checkins] gh-117804: Document how to suppress PGO unprofiled source warnings (#117859)

2024-04-15 Thread erlend-aasland
https://github.com/python/cpython/commit/757891ee8ad61a86c1fdb764d81bc8a11189 commit: 757891ee8ad61a86c1fdb764d81bc8a11189 branch: main author: Erlend E. Aasland committer: erlend-aasland date: 2024-04-15T23:17:28+02:00 summary: gh-117804: Document how to suppress PGO unprofiled source w

[Python-checkins] [3.12] Docs: add link roles with Sphinx extlinks (GH-117850) (#117910)

2024-04-15 Thread hugovk
https://github.com/python/cpython/commit/eb0bfb5910e5135505d2259efa90e0095c422efe commit: eb0bfb5910e5135505d2259efa90e0095c422efe branch: 3.12 author: Hugo van Kemenade <1324225+hug...@users.noreply.github.com> committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2024-04-15T13:18:21-0

[Python-checkins] Docs: add link roles with Sphinx extlinks (#117850)

2024-04-15 Thread hugovk
https://github.com/python/cpython/commit/3375282bb894347b73c11752f0797d90dadaf465 commit: 3375282bb894347b73c11752f0797d90dadaf465 branch: main author: Hugo van Kemenade <1324225+hug...@users.noreply.github.com> committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2024-04-15T21:22:00+0

[Python-checkins] gh-109975: Copyedit "What's New in Python 3.13" (#117902)

2024-04-15 Thread hugovk
https://github.com/python/cpython/commit/78da15406705f88ffa79dafac491fb93b373e8e9 commit: 78da15406705f88ffa79dafac491fb93b373e8e9 branch: main author: Hugo van Kemenade <1324225+hug...@users.noreply.github.com> committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2024-04-15T17:20:40Z

[Python-checkins] [3.12] Docs: make the `whatsnew-typing-py312` anchor point to things that were new in the typing module (GH-117904) (#117905)

2024-04-15 Thread AlexWaygood
https://github.com/python/cpython/commit/6dfb7e1f2787f2a97e730cd259dde2246b0ba164 commit: 6dfb7e1f2787f2a97e730cd259dde2246b0ba164 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: AlexWaygood date: 2024-04-15T16:55:04Z summary: [3.12] Docs: m

[Python-checkins] gh-117688: Fix deadlock in test_no_stale_references with GIL disabled (#117720)

2024-04-15 Thread colesbury
https://github.com/python/cpython/commit/520cf2170ea08730e142d591e311b7ab8a6afe63 commit: 520cf2170ea08730e142d591e311b7ab8a6afe63 branch: main author: Sam Gross committer: colesbury date: 2024-04-15T12:54:56-04:00 summary: gh-117688: Fix deadlock in test_no_stale_references with GIL disabled (#

[Python-checkins] Docs: make the `whatsnew-typing-py312` anchor point to things that were new in the typing module (#117904)

2024-04-15 Thread AlexWaygood
https://github.com/python/cpython/commit/106e9ddc435372f3977432d76d0b1cb46ac72c5f commit: 106e9ddc435372f3977432d76d0b1cb46ac72c5f branch: main author: Alex Waygood committer: AlexWaygood date: 2024-04-15T16:48:13Z summary: Docs: make the `whatsnew-typing-py312` anchor point to things that were

[Python-checkins] gh-117657: Quiet more TSAN warnings due to incorrect modeling of compare/exchange (#117830)

2024-04-15 Thread colesbury
https://github.com/python/cpython/commit/0d5238373daea2672b56f0dae58acf158cc9aa27 commit: 0d5238373daea2672b56f0dae58acf158cc9aa27 branch: main author: mpage committer: colesbury date: 2024-04-15T12:17:55-04:00 summary: gh-117657: Quiet more TSAN warnings due to incorrect modeling of compare/ex

[Python-checkins] gh-117657: Quiet TSAN warning about a data race between `start_the_world()` and `tstate_try_attach()` (#117828)

2024-04-15 Thread colesbury
https://github.com/python/cpython/commit/6e0b327690c7dd2e4e9091f81f8ad43ad5eb1631 commit: 6e0b327690c7dd2e4e9091f81f8ad43ad5eb1631 branch: main author: mpage committer: colesbury date: 2024-04-15T12:17:33-04:00 summary: gh-117657: Quiet TSAN warning about a data race between `start_the_world()`

[Python-checkins] gh-117657: Add TSAN suppressions for the free-threaded build (#117736)

2024-04-15 Thread colesbury
https://github.com/python/cpython/commit/47832067da54385c6cd5ad0f4f9d7f7dc69ebdb2 commit: 47832067da54385c6cd5ad0f4f9d7f7dc69ebdb2 branch: main author: mpage committer: colesbury date: 2024-04-15T12:08:25-04:00 summary: gh-117657: Add TSAN suppressions for the free-threaded build (#117736) Addi

[Python-checkins] gh-112278: Improve error handling in wmi module and tests (GH-117818)

2024-04-15 Thread zooba
https://github.com/python/cpython/commit/667a574c8fca0393d351f558680805cad9b71ec5 commit: 667a574c8fca0393d351f558680805cad9b71ec5 branch: 3.12 author: Steve Dower committer: zooba date: 2024-04-15T16:43:28+01:00 summary: gh-112278: Improve error handling in wmi module and tests (GH-117818) fil

[Python-checkins] gh-90329: Add _winapi.GetLongPathName and GetShortPathName and use in venv to reduce warnings (GH-117817)

2024-04-15 Thread zooba
https://github.com/python/cpython/commit/1a456590648e9291795339c1e5276c8077196272 commit: 1a456590648e9291795339c1e5276c8077196272 branch: 3.12 author: Steve Dower committer: zooba date: 2024-04-15T16:43:41+01:00 summary: gh-90329: Add _winapi.GetLongPathName and GetShortPathName and use in venv

[Python-checkins] [3.12] gh-115664: Reorganize versionadded directives for -X options (GH-116304) (GH-117900)

2024-04-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/3e5109682b96aad62d8ffec676eb1356056471b4 commit: 3e5109682b96aad62d8ffec676eb1356056471b4 branch: 3.12 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-04-15T15:15:43Z summary: [3.12] gh-115664: Reorganize versionadded directives for -X opt

[Python-checkins] gh-115532: Minor tweaks to kde() (gh-117897)

2024-04-15 Thread rhettinger
https://github.com/python/cpython/commit/0823f4361850145152a94e9086bede6a000d8a4a commit: 0823f4361850145152a94e9086bede6a000d8a4a branch: main author: Raymond Hettinger committer: rhettinger date: 2024-04-15T10:08:21-05:00 summary: gh-115532: Minor tweaks to kde() (gh-117897) files: M Doc/libr

[Python-checkins] gh-115664: Reorganize versionadded directives for -X options (GH-116304)

2024-04-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/10f1a2687a080f07bc128e185c854586207f08cf commit: 10f1a2687a080f07bc128e185c854586207f08cf branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-04-15T18:01:17+03:00 summary: gh-115664: Reorganize versionadded directives for -X optio

[Python-checkins] [3.12] gh-117114: Update os.path function availability and link to genericpath.py in os.path.rst (GH-117756)

2024-04-15 Thread zooba
https://github.com/python/cpython/commit/2dcb267324b3161609622bb9e67f6f4eeaa22ae3 commit: 2dcb267324b3161609622bb9e67f6f4eeaa22ae3 branch: 3.12 author: Nice Zombies committer: zooba date: 2024-04-15T15:49:44+01:00 summary: [3.12] gh-117114: Update os.path function availability and link to gener

[Python-checkins] gh-112278: Improve error handling in wmi module and tests (GH-117818)

2024-04-15 Thread zooba
https://github.com/python/cpython/commit/7d9d6b53bcee58252e38732a1fa1ca786eba4aab commit: 7d9d6b53bcee58252e38732a1fa1ca786eba4aab branch: main author: Steve Dower committer: zooba date: 2024-04-15T15:43:11+01:00 summary: gh-112278: Improve error handling in wmi module and tests (GH-117818) fil

[Python-checkins] gh-90329: Add _winapi.GetLongPathName and GetShortPathName and use in venv to reduce warnings (GH-117817)

2024-04-15 Thread zooba
https://github.com/python/cpython/commit/185999bb3ad3f1484da8fa4b84813980b976dc3c commit: 185999bb3ad3f1484da8fa4b84813980b976dc3c branch: main author: Steve Dower committer: zooba date: 2024-04-15T15:36:06+01:00 summary: gh-90329: Add _winapi.GetLongPathName and GetShortPathName and use in venv

[Python-checkins] [3.12] gh-117889: Fix PGO test in test_peg_generator (GH-117893) (#117895)

2024-04-15 Thread erlend-aasland
https://github.com/python/cpython/commit/6a4c06bcb341628d720ea5b2d0cb5500db8b7694 commit: 6a4c06bcb341628d720ea5b2d0cb5500db8b7694 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: erlend-aasland date: 2024-04-15T14:15:30Z summary: [3.12] gh-1

[Python-checkins] gh-117889: Fix PGO test in test_peg_generator (#117893)

2024-04-15 Thread vstinner
https://github.com/python/cpython/commit/64cd6fc9a6a3c3c19091a1c81cbbe8994583017d commit: 64cd6fc9a6a3c3c19091a1c81cbbe8994583017d branch: main author: Victor Stinner committer: vstinner date: 2024-04-15T13:59:34Z summary: gh-117889: Fix PGO test in test_peg_generator (#117893) Reuse support.ch

[Python-checkins] GH-117750: When clearing object's dict, clear inline values but leave dict attached (GH-117808)

2024-04-15 Thread markshannon
https://github.com/python/cpython/commit/784e076a10e828f383282df8a4b993a1b821f547 commit: 784e076a10e828f383282df8a4b993a1b821f547 branch: main author: Mark Shannon committer: markshannon date: 2024-04-15T14:45:05+01:00 summary: GH-117750: When clearing object's dict, clear inline values but lea

[Python-checkins] [3.12] gh-91565: Replace bugs.python.org links with Devguide/GitHub ones (GH-91568) (GH-117890)

2024-04-15 Thread encukou
https://github.com/python/cpython/commit/e7c774996ae1da6f395a42da162a39b31bd710d0 commit: e7c774996ae1da6f395a42da162a39b31bd710d0 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: encukou date: 2024-04-15T12:59:34Z summary: [3.12] gh-91565: R

[Python-checkins] [3.12] Add 'The Python 2.3 Method Resolution Order' (GH-116435) (#117885)

2024-04-15 Thread hugovk
https://github.com/python/cpython/commit/a844e83b06f848ba84f6fad2a171bc6f3191bcc2 commit: a844e83b06f848ba84f6fad2a171bc6f3191bcc2 branch: 3.12 author: Hugo van Kemenade <1324225+hug...@users.noreply.github.com> committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2024-04-15T14:14:16+0

[Python-checkins] [3.12] gh-117694: Improve tests for PyEval_EvalCodeEx() (GH-117695) (GH-117884)

2024-04-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/50b94b150e7a5beee565d0977d0afabd0115ab72 commit: 50b94b150e7a5beee565d0977d0afabd0115ab72 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: serhiy-storchaka date: 2024-04-15T10:02:43Z summary: [3.12] gh

[Python-checkins] Add 'The Python 2.3 Method Resolution Order' (#116435)

2024-04-15 Thread hugovk
https://github.com/python/cpython/commit/7d0be7aea569b3bc9a3936501d7d32af87c70e73 commit: 7d0be7aea569b3bc9a3936501d7d32af87c70e73 branch: main author: Hugo van Kemenade <1324225+hug...@users.noreply.github.com> committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2024-04-15T13:01:15+0

[Python-checkins] gh-117694: Improve tests for PyEval_EvalCodeEx() (GH-117695)

2024-04-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/57bdb75975ff90f95248c59fda34345f3bfff3c4 commit: 57bdb75975ff90f95248c59fda34345f3bfff3c4 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-04-15T12:44:54+03:00 summary: gh-117694: Improve tests for PyEval_EvalCodeEx() (GH-11769

[Python-checkins] gh-117755: Skip test_io.test_constructor() on s390x (#117801)

2024-04-15 Thread vstinner
https://github.com/python/cpython/commit/a9107fe5c0869c01b4c8db7a34c768ee8511505a commit: a9107fe5c0869c01b4c8db7a34c768ee8511505a branch: main author: Victor Stinner committer: vstinner date: 2024-04-15T10:24:47+02:00 summary: gh-117755: Skip test_io.test_constructor() on s390x (#117801) The t