[Python-checkins] gh-89811: Check for valid tp_version_tag in specializer (GH-113558)

2024-01-10 Thread Fidget-Spinner
https://github.com/python/cpython/commit/f653caa5a88d3b5027a8f286ff3a3ccd9e6fe4ed commit: f653caa5a88d3b5027a8f286ff3a3ccd9e6fe4ed branch: main author: Peter Lazorchak committer: Fidget-Spinner date: 2024-01-11T13:33:05+08:00 summary: gh-89811: Check for valid tp_version_tag in specializer (GH-1

[Python-checkins] [3.12] gh-113896: Fix test_builtin.BuiltinTest.test___ne__() (GH-113897) (#113928)

2024-01-10 Thread vstinner
https://github.com/python/cpython/commit/3f607a03242e98ec6ff141fa9bd27ebfb46c7519 commit: 3f607a03242e98ec6ff141fa9bd27ebfb46c7519 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: vstinner date: 2024-01-10T23:56:57Z summary: [3.12] gh-113896:

[Python-checkins] gh-111968: Unify naming scheme for freelist (gh-113919)

2024-01-10 Thread corona10
https://github.com/python/cpython/commit/c65ae26f2b46ca616a7ca000bbfcdf63b9bdd779 commit: c65ae26f2b46ca616a7ca000bbfcdf63b9bdd779 branch: main author: Donghee Na committer: corona10 date: 2024-01-11T08:51:51+09:00 summary: gh-111968: Unify naming scheme for freelist (gh-113919) files: M Includ

[Python-checkins] gh-87868: Sort and remove duplicates in getenvironment() (GH-102731)

2024-01-10 Thread zooba
https://github.com/python/cpython/commit/4050a150e9ce08bacb1ce0140ba16d1689dbbcdc commit: 4050a150e9ce08bacb1ce0140ba16d1689dbbcdc branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: zooba date: 2024-01-10T23:43:39Z summary: gh-87868: Sort and r

[Python-checkins] gh-113896: Fix test_builtin.BuiltinTest.test___ne__() (#113897)

2024-01-10 Thread vstinner
https://github.com/python/cpython/commit/9d33c23857cfd952bf3e1e7f34c77b7c9a5accc3 commit: 9d33c23857cfd952bf3e1e7f34c77b7c9a5accc3 branch: main author: Kirill Podoprigora committer: vstinner date: 2024-01-11T00:39:48+01:00 summary: gh-113896: Fix test_builtin.BuiltinTest.test___ne__() (#113897)

[Python-checkins] gh-87868: Skip `test_one_environment_variable` in `test_subprocess` when the platform or build cannot do that (#113867)

2024-01-10 Thread gpshead
https://github.com/python/cpython/commit/fafb3275f25e116e51ff0b867aec597cb3de840f commit: fafb3275f25e116e51ff0b867aec597cb3de840f branch: main author: AN Long committer: gpshead date: 2024-01-10T15:17:05-08:00 summary: gh-87868: Skip `test_one_environment_variable` in `test_subprocess` when the

[Python-checkins] gh-77046: os.pipe() sets _O_NOINHERIT flag on fds (#113817)

2024-01-10 Thread vstinner
https://github.com/python/cpython/commit/1d75fa43a25e5f3c33f2aaaec28fab9430834792 commit: 1d75fa43a25e5f3c33f2aaaec28fab9430834792 branch: main author: Victor Stinner committer: vstinner date: 2024-01-10T23:02:17+01:00 summary: gh-77046: os.pipe() sets _O_NOINHERIT flag on fds (#113817) On Wind

[Python-checkins] gh-112302: Point core developers to SBOM devguide on errors (#113490)

2024-01-10 Thread hugovk
https://github.com/python/cpython/commit/e82b096335dcf31aedd2d265cbcc2f87ad971bfe commit: e82b096335dcf31aedd2d265cbcc2f87ad971bfe branch: main author: Seth Michael Larson committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2024-01-10T19:21:04Z summary: gh-112302: Point core develop

[Python-checkins] gh-113753: Clear finalized bit when putting PyAsyncGenASend back into free list (#113754)

2024-01-10 Thread gvanrossum
https://github.com/python/cpython/commit/73ae2023a76f199ff854f8da14bd9ff8e93ee7fd commit: 73ae2023a76f199ff854f8da14bd9ff8e93ee7fd branch: main author: Sam Gross committer: gvanrossum date: 2024-01-10T10:18:38-08:00 summary: gh-113753: Clear finalized bit when putting PyAsyncGenASend back into f

[Python-checkins] [3.12] gh-113625: Align object addresses in the Descriptor HowTo Guide (GH-113894) (#113922)

2024-01-10 Thread ambv
https://github.com/python/cpython/commit/3fc45e6c4e31fe817e91ebeeb5f7dc8afc6c6c13 commit: 3fc45e6c4e31fe817e91ebeeb5f7dc8afc6c6c13 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ambv date: 2024-01-10T18:32:54+01:00 summary: [3.12] gh-113625

[Python-checkins] [3.11] gh-113625: Align object addresses in the Descriptor HowTo Guide (GH-113894) (#113923)

2024-01-10 Thread ambv
https://github.com/python/cpython/commit/6e21c590f6c68dace297c82c62d0a1286a2ab066 commit: 6e21c590f6c68dace297c82c62d0a1286a2ab066 branch: 3.11 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ambv date: 2024-01-10T18:32:52+01:00 summary: [3.11] gh-113625

[Python-checkins] gh-113625: Align object addresses in the Descriptor HowTo Guide (#113894)

2024-01-10 Thread ambv
https://github.com/python/cpython/commit/901a971e161e060bd95f3cf3aeebe8b48d6e6dac commit: 901a971e161e060bd95f3cf3aeebe8b48d6e6dac branch: main author: Raymond Hettinger committer: ambv date: 2024-01-10T17:23:40+01:00 summary: gh-113625: Align object addresses in the Descriptor HowTo Guide (#113

[Python-checkins] Add @requires_zlib() decorator for gh-109858 tests (GH-113918)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/70497218351ba44bffc8b571201ecb5652d84675 commit: 70497218351ba44bffc8b571201ecb5652d84675 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T15:56:40Z summary: Add @requires_zlib() decorator for gh-109858 tests (GH-113918)

[Python-checkins] gh-111968: Use per-thread freelists for float in free-threading (gh-113886)

2024-01-10 Thread corona10
https://github.com/python/cpython/commit/f728f7242c6008a16daaa5dde8e1db786857c50e commit: f728f7242c6008a16daaa5dde8e1db786857c50e branch: main author: Donghee Na committer: corona10 date: 2024-01-10T15:47:13Z summary: gh-111968: Use per-thread freelists for float in free-threading (gh-113886)

[Python-checkins] GH-113860: All executors are now defined in terms of micro ops. Convert counter executor to use uops. (GH-113864)

2024-01-10 Thread markshannon
https://github.com/python/cpython/commit/a0c9cf9456c2ee7a89d9bd859c07afac8cf5e893 commit: a0c9cf9456c2ee7a89d9bd859c07afac8cf5e893 branch: main author: Mark Shannon committer: markshannon date: 2024-01-10T15:44:34Z summary: GH-113860: All executors are now defined in terms of micro ops. Convert

[Python-checkins] gh-111139: Optimize math.gcd(int, int) (#113887)

2024-01-10 Thread vstinner
https://github.com/python/cpython/commit/93930eaf0acd64dc0d08d58321d2682cb019bc1a commit: 93930eaf0acd64dc0d08d58321d2682cb019bc1a branch: main author: Victor Stinner committer: vstinner date: 2024-01-10T16:38:56+01:00 summary: gh-39: Optimize math.gcd(int, int) (#113887) Add a fast-path fo

[Python-checkins] gh-109858: Protect zipfile from "quoted-overlap" zipbomb (GH-110016)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/66363b9a7b9fe7c99eba3a185b74c5fdbf842eba commit: 66363b9a7b9fe7c99eba3a185b74c5fdbf842eba branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T15:55:36+02:00 summary: gh-109858: Protect zipfile from "quoted-overlap" zipbomb (

[Python-checkins] gh-111789: Use PyDict_GetItemRef() in Modules/_zoneinfo.c (GH-112078)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/183b97bb9db075197153ad82b8ffdfce8e913250 commit: 183b97bb9db075197153ad82b8ffdfce8e913250 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T15:35:10+02:00 summary: gh-111789: Use PyDict_GetItemRef() in Modules/_zoneinfo.c

[Python-checkins] gh-66515: Fix locking of an MH mailbox without ".mh_sequences" file (GH-113482)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/be5e65fdf67b1817e173e73443564c7c146b09a4 commit: be5e65fdf67b1817e173e73443564c7c146b09a4 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T15:31:55+02:00 summary: gh-66515: Fix locking of an MH mailbox without ".mh_sequen

[Python-checkins] gh-89850: Add default C implementations of persistent_id() and persistent_load() (GH-113579)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/89cee94b315c88d3cd4c9ffc051e7abd6a5f2196 commit: 89cee94b315c88d3cd4c9ffc051e7abd6a5f2196 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T15:30:37+02:00 summary: gh-89850: Add default C implementations of persistent_id()

[Python-checkins] [3.12] gh-70835: Clarify error message for CSV file opened with wrong newline (GH-113786) (GH-113905)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/59a7b9495b64f0be8992564d30217137f0f0a662 commit: 59a7b9495b64f0be8992564d30217137f0f0a662 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: serhiy-storchaka date: 2024-01-10T13:26:04Z summary: [3.12] gh

[Python-checkins] [3.11] gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730) (GH-113908)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/435e891b32318b4a0fed2843d0cb37ee21c07e4b commit: 435e891b32318b4a0fed2843d0cb37ee21c07e4b branch: 3.11 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: serhiy-storchaka date: 2024-01-10T13:24:17Z summary: [3.11] gh

[Python-checkins] [3.12] gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730) (GH-113907)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/84677ff19c0ffdc328203cdb25d16053e9c5a910 commit: 84677ff19c0ffdc328203cdb25d16053e9c5a910 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: serhiy-storchaka date: 2024-01-10T13:21:50Z summary: [3.12] gh

[Python-checkins] [3.11] gh-113664: Improve style of Big O notation (GH-113695) (GH-113910)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/c92a473a71a0c395df57d31cd49900057da3c25b commit: c92a473a71a0c395df57d31cd49900057da3c25b branch: 3.11 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T13:13:27Z summary: [3.11] gh-113664: Improve style of Big O notation (GH-113695) (

[Python-checkins] [3.12] gh-113664: Improve style of Big O notation (GH-113695) (GH-113909)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/082998c3af5bfd163da5c0198cd10acf588a44ba commit: 082998c3af5bfd163da5c0198cd10acf588a44ba branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: serhiy-storchaka date: 2024-01-10T13:08:08Z summary: [3.12] gh

[Python-checkins] gh-58032: Do not use argparse.FileType in module CLIs and scripts (GH-113649)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b3d2427f2280fa8dae3515036c518d74ba43ebd1 commit: b3d2427f2280fa8dae3515036c518d74ba43ebd1 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T15:07:19+02:00 summary: gh-58032: Do not use argparse.FileType in module CLIs and

[Python-checkins] gh-113664: Improve style of Big O notation (GH-113695)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/a8629816c6c0e6770248a60529fd7c9ba08aad55 commit: a8629816c6c0e6770248a60529fd7c9ba08aad55 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T15:01:18+02:00 summary: gh-113664: Improve style of Big O notation (GH-113695) Us

[Python-checkins] gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/e9d5b6ea2d68564f176fdf70c2d7028e060c62b5 commit: e9d5b6ea2d68564f176fdf70c2d7028e060c62b5 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T14:54:36+02:00 summary: gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-

[Python-checkins] gh-70835: Clarify error message for CSV file opened with wrong newline (GH-113786)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/568d220993fa9b4b812ff1b425edd80dbe17dda9 commit: 568d220993fa9b4b812ff1b425edd80dbe17dda9 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T14:52:29+02:00 summary: gh-70835: Clarify error message for CSV file opened with w

[Python-checkins] [3.12] gh-113877: Fix Tkinter method winfo_pathname() on 64-bit Windows (GH-113900) (GH-113901)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/7530c612d10030cf9d53e70b1acd333c31a97d7f commit: 7530c612d10030cf9d53e70b1acd333c31a97d7f branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: serhiy-storchaka date: 2024-01-10T10:53:27Z summary: [3.12] gh

[Python-checkins] [3.11] gh-113877: Fix Tkinter method winfo_pathname() on 64-bit Windows (GH-113900) (GH-113902)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b4a6bbdd7de8bdc43ea62ed4bbb610bf1cd64278 commit: b4a6bbdd7de8bdc43ea62ed4bbb610bf1cd64278 branch: 3.11 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: serhiy-storchaka date: 2024-01-10T10:50:51Z summary: [3.11] gh

[Python-checkins] gh-96037: Always insert TimeoutError when exit an expired asyncio.timeout() block (GH-113819)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/aef4a1203c06efde8505aefc9cf994e9a23f398d commit: aef4a1203c06efde8505aefc9cf994e9a23f398d branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T12:50:31+02:00 summary: gh-96037: Always insert TimeoutError when exit an expired

[Python-checkins] gh-113879: Fix ResourceWarning in test_asyncio.test_server (GH-113881)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/ab0ad62038317a3d15099c23d2b0f03bee9f8fa7 commit: ab0ad62038317a3d15099c23d2b0f03bee9f8fa7 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T12:38:36+02:00 summary: gh-113879: Fix ResourceWarning in test_asyncio.test_server

[Python-checkins] gh-113877: Fix Tkinter method winfo_pathname() on 64-bit Windows (GH-113900)

2024-01-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/1b7e0024a16c1820f61c04a8a100498568410afd commit: 1b7e0024a16c1820f61c04a8a100498568410afd branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-10T12:36:03+02:00 summary: gh-113877: Fix Tkinter method winfo_pathname() on 64-bit W

[Python-checkins] [3.8] Fix documentation build by pinning Alabaster version to 0.7.13 (GH-113815) (#113899)

2024-01-10 Thread ambv
https://github.com/python/cpython/commit/fb57c39c2dc633b3cfe185837815196076a89973 commit: fb57c39c2dc633b3cfe185837815196076a89973 branch: 3.8 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ambv date: 2024-01-10T10:45:31+01:00 summary: [3.8] Fix documen

[Python-checkins] [3.9] Fix documentation build by pinning Alabaster version to 0.7.13 (#113815)

2024-01-10 Thread ambv
https://github.com/python/cpython/commit/f86e20e4a86de4a06c04200c55e6f639f6795257 commit: f86e20e4a86de4a06c04200c55e6f639f6795257 branch: 3.9 author: Maciej Olko committer: ambv date: 2024-01-10T10:35:38+01:00 summary: [3.9] Fix documentation build by pinning Alabaster version to 0.7.13 (#11381

[Python-checkins] GH-113858: GitHub Actions config: Only save ccache on pushes (GH-113859)

2024-01-10 Thread encukou
https://github.com/python/cpython/commit/5d384b0468b35b393f8ae2d3149d13ff607c9501 commit: 5d384b0468b35b393f8ae2d3149d13ff607c9501 branch: main author: Petr Viktorin committer: encukou date: 2024-01-10T09:49:18+01:00 summary: GH-113858: GitHub Actions config: Only save ccache on pushes (GH-11385