[Python-checkins] [3.12] gh-113692: skip a test if multiprocessing isn't available. (GH-113704) (GH-113844)

2024-01-09 Thread vsajip
https://github.com/python/cpython/commit/cdd703d1313b546823882663ca94cf536f025f4a commit: cdd703d1313b546823882663ca94cf536f025f4a branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vsajip date: 2024-01-09T08:13:41Z summary: [3.12] gh-113692: s

[Python-checkins] gh-101100: Fix Sphinx warnings for 2.6 port-specific deprecations (#113752)

2024-01-09 Thread hugovk
https://github.com/python/cpython/commit/2e17cad2b8899126eb2024bf75db331b871bd5bc commit: 2e17cad2b8899126eb2024bf75db331b871bd5bc branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2024-01-09T10:18:15+0

[Python-checkins] [3.12] gh-101100: Fix Sphinx warnings for 2.6 port-specific deprecations (GH-113752) (#113846)

2024-01-09 Thread hugovk
https://github.com/python/cpython/commit/7e894a4baf80a13d7f23071f2e417bed8a2a3a1d commit: 7e894a4baf80a13d7f23071f2e417bed8a2a3a1d branch: 3.12 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2024-01-09T11:58:55+0

[Python-checkins] [3.11] gh-101100: Fix Sphinx warnings for 2.6 port-specific deprecations (GH-113752) (#113847)

2024-01-09 Thread hugovk
https://github.com/python/cpython/commit/f20c69299e026813de2a97ddb32e89155f08fdff commit: f20c69299e026813de2a97ddb32e89155f08fdff branch: 3.11 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2024-01-09T11:58:59+0

[Python-checkins] gh-113842: Add missing error check for PyIter_Next() in Python/symtable.c (GH-113843)

2024-01-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/fda901a1ff94ea6cc338b74928acdbc5ee165ed7 commit: fda901a1ff94ea6cc338b74928acdbc5ee165ed7 branch: main author: Yan Yanchii committer: serhiy-storchaka date: 2024-01-09T12:43:58+02:00 summary: gh-113842: Add missing error check for PyIter_Next() in Python/

[Python-checkins] [3.12] gh-113842: Add missing error check for PyIter_Next() in Python/symtable.c (GH-113843) (GH-113851)

2024-01-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/6b6f91ec88488e9e1ac71cf5635c79c92beeff0f commit: 6b6f91ec88488e9e1ac71cf5635c79c92beeff0f branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-01-09T11:00:07Z summary: [3.12] gh

[Python-checkins] [3.11] gh-113842: Add missing error check for PyIter_Next() in Python/symtable.c (GH-113843) (GH-113852)

2024-01-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/50efd7db20a3073affd877ecd2edd1dcf2a2c8b9 commit: 50efd7db20a3073affd877ecd2edd1dcf2a2c8b9 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-01-09T11:09:32Z summary: [3.11] gh

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

2024-01-09 Thread zooba
https://github.com/python/cpython/commit/c31be58da8577ef140e83d4e46502c7bb1eb9abf commit: c31be58da8577ef140e83d4e46502c7bb1eb9abf branch: main author: AN Long committer: zooba date: 2024-01-09T15:58:26Z summary: gh-87868: Sort and remove duplicates in getenvironment() (GH-102731) Co-authored-b

[Python-checkins] gh-103092: Test _ctypes type hierarchy and features (#113727)

2024-01-09 Thread erlend-aasland
https://github.com/python/cpython/commit/be89ee5649031e08f191bf596fa20a09c5698079 commit: be89ee5649031e08f191bf596fa20a09c5698079 branch: main author: AN Long committer: erlend-aasland date: 2024-01-09T18:28:43+01:00 summary: gh-103092: Test _ctypes type hierarchy and features (#113727) Test t

[Python-checkins] gh-113650: Add workaround option for MSVC ARM64 bug affecting string encoding (GH-113836)

2024-01-09 Thread zooba
https://github.com/python/cpython/commit/ad849b4ba008bf4ff97151651e619259ddb4fc18 commit: ad849b4ba008bf4ff97151651e619259ddb4fc18 branch: main author: Steve Dower committer: zooba date: 2024-01-09T17:32:22Z summary: gh-113650: Add workaround option for MSVC ARM64 bug affecting string encoding

[Python-checkins] Fix opcode name printing in debug mode (#113870)

2024-01-09 Thread gvanrossum
https://github.com/python/cpython/commit/65f8eb71190f870c66fb00da29a670ee232a3fd5 commit: 65f8eb71190f870c66fb00da29a670ee232a3fd5 branch: main author: Guido van Rossum committer: gvanrossum date: 2024-01-09T18:18:11Z summary: Fix opcode name printing in debug mode (#113870) Fix a few places wh

[Python-checkins] Simplify binomial approximation example with random.binomialvariate() (gh-113871)

2024-01-09 Thread rhettinger
https://github.com/python/cpython/commit/2fd2e747930987eb8ed4929cf0132e85db759dab commit: 2fd2e747930987eb8ed4929cf0132e85db759dab branch: main author: Raymond Hettinger committer: rhettinger date: 2024-01-09T13:02:07-06:00 summary: Simplify binomial approximation example with random.binomialvar

[Python-checkins] GH-113528: Deoptimise `pathlib._abc.PathBase._make_child_relpath()` (#113532)

2024-01-09 Thread barneygale
https://github.com/python/cpython/commit/9100fc407e8c7038e7214b600b4ae568ae5510e3 commit: 9100fc407e8c7038e7214b600b4ae568ae5510e3 branch: main author: Barney Gale committer: barneygale date: 2024-01-09T19:11:17Z summary: GH-113528: Deoptimise `pathlib._abc.PathBase._make_child_relpath()` (#1135

[Python-checkins] [3.12] Simplify binomial approximation example with random.binomialvariate() (gh-113871) (gh-113872)

2024-01-09 Thread rhettinger
https://github.com/python/cpython/commit/9a6b99ee8b750c8891b488a6bd60696bc164c6fa commit: 9a6b99ee8b750c8891b488a6bd60696bc164c6fa branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: rhettinger date: 2024-01-09T13:24:55-06:00 summary: [3.12] Sim

[Python-checkins] gh-113848: Use PyErr_GivenExceptionMatches() for check for CancelledError (GH-113849)

2024-01-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/5273655bea050432756098641b9fda72361bf983 commit: 5273655bea050432756098641b9fda72361bf983 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-09T21:41:02+02:00 summary: gh-113848: Use PyErr_GivenExceptionMatches() for check for

[Python-checkins] gh-113848: Handle CancelledError subclasses in asyncio TaskGroup() and timeout() (GH-113850)

2024-01-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/a5db6a3351b440a875a5af84a8b2447981356e34 commit: a5db6a3351b440a875a5af84a8b2447981356e34 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-09T21:41:31+02:00 summary: gh-113848: Handle CancelledError subclasses in asyncio Tas

[Python-checkins] gh-113781: Silence AttributeError in warning module during Python finalization (GH-113813)

2024-01-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/0297418cacf998e778bc0517aa11eaac827b8c0f commit: 0297418cacf998e778bc0517aa11eaac827b8c0f branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-01-09T21:44:05+02:00 summary: gh-113781: Silence AttributeError in warning module during

[Python-checkins] GH-113661: unittest runner: Don't exit 5 if tests were skipped (#113856)

2024-01-09 Thread gpshead
https://github.com/python/cpython/commit/3a9096c337c16c9335e0d4eba8d1d4196258af72 commit: 3a9096c337c16c9335e0d4eba8d1d4196258af72 branch: main author: Stefano Rivera committer: gpshead date: 2024-01-09T19:50:01Z summary: GH-113661: unittest runner: Don't exit 5 if tests were skipped (#113856)

[Python-checkins] GH-113528: Deoptimise `pathlib._abc.PathBase.resolve()` (#113782)

2024-01-09 Thread barneygale
https://github.com/python/cpython/commit/1092cfb20179ac7dd6a2c3c6f8a57ecc1732c777 commit: 1092cfb20179ac7dd6a2c3c6f8a57ecc1732c777 branch: main author: Barney Gale committer: barneygale date: 2024-01-09T19:50:23Z summary: GH-113528: Deoptimise `pathlib._abc.PathBase.resolve()` (#113782) Replace

[Python-checkins] gh-66060: Use actual class name in _io type's __repr__ (#30824)

2024-01-09 Thread erlend-aasland
https://github.com/python/cpython/commit/623b338adf2645b09c546e7a17f2648d3a900620 commit: 623b338adf2645b09c546e7a17f2648d3a900620 branch: main author: AN Long committer: erlend-aasland date: 2024-01-09T21:39:36+01:00 summary: gh-66060: Use actual class name in _io type's __repr__ (#30824) Use

[Python-checkins] [3.12] gh-113781: Silence AttributeError in warning module during Python finalization (GH-113813) (GH-113873)

2024-01-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/85cf360d2994514e2eae6f851750cff5d3d32235 commit: 85cf360d2994514e2eae6f851750cff5d3d32235 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-01-09T22:40:30+02:00 summary: [3.1

[Python-checkins] [3.11] gh-113781: Silence AttributeError in warning module during Python finalization (GH-113813) (GH-113874)

2024-01-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/86b004358e892f6fbe0ba51f9c3e0e3ea53d7e44 commit: 86b004358e892f6fbe0ba51f9c3e0e3ea53d7e44 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-01-09T22:41:02+02:00 summary: [3.1

[Python-checkins] [3.12] GH-113661: unittest runner: Don't exit 5 if tests were skipped (GH-113856) (#113875)

2024-01-09 Thread gpshead
https://github.com/python/cpython/commit/159e3db1f7697b9aecdf674bb833fbb87f3dcad3 commit: 159e3db1f7697b9aecdf674bb833fbb87f3dcad3 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: gpshead date: 2024-01-09T13:34:38-08:00 summary: [3.12] GH-113

[Python-checkins] GH-113528: Deoptimise `pathlib._abc.PurePathBase.parts` (#113883)

2024-01-09 Thread barneygale
https://github.com/python/cpython/commit/5c7bd0e39839b27bc524e1790fe4936d987f384a commit: 5c7bd0e39839b27bc524e1790fe4936d987f384a branch: main author: Barney Gale committer: barneygale date: 2024-01-09T22:46:50Z summary: GH-113528: Deoptimise `pathlib._abc.PurePathBase.parts` (#113883) Impleme

[Python-checkins] GH-113528: Deoptimise `pathlib._abc.PurePathBase.relative_to()` (again) (#113882)

2024-01-09 Thread barneygale
https://github.com/python/cpython/commit/cdca0ce0ad47604b7007229415817a7a152f7f9a commit: cdca0ce0ad47604b7007229415817a7a152f7f9a branch: main author: Barney Gale committer: barneygale date: 2024-01-09T23:04:14Z summary: GH-113528: Deoptimise `pathlib._abc.PurePathBase.relative_to()` (again) (

[Python-checkins] gh-111968: Introduce _PyFreeListState and _PyFreeListState_GET API (gh-113584)

2024-01-09 Thread corona10
https://github.com/python/cpython/commit/57bdc6c30d2665c2760ff5a88487e57c8b3c397a commit: 57bdc6c30d2665c2760ff5a88487e57c8b3c397a branch: main author: Donghee Na committer: corona10 date: 2024-01-10T08:04:41+09:00 summary: gh-111968: Introduce _PyFreeListState and _PyFreeListState_GET API (gh-1

[Python-checkins] GH-113528: Deoptimise `pathlib._abc.PurePathBase` (#113559)

2024-01-09 Thread barneygale
https://github.com/python/cpython/commit/beb80d11ec0ddaf00a97f8a38ec9eae68e07c28e commit: beb80d11ec0ddaf00a97f8a38ec9eae68e07c28e branch: main author: Barney Gale committer: barneygale date: 2024-01-09T23:52:15Z summary: GH-113528: Deoptimise `pathlib._abc.PurePathBase` (#113559) Apply pathlib

[Python-checkins] pathlib ABCs: Require one or more initialiser arguments (#113885)

2024-01-09 Thread barneygale
https://github.com/python/cpython/commit/5d8a3e74b51a59752f24cb869e7daa065b673f83 commit: 5d8a3e74b51a59752f24cb869e7daa065b673f83 branch: main author: Barney Gale committer: barneygale date: 2024-01-10T01:12:58Z summary: pathlib ABCs: Require one or more initialiser arguments (#113885) Refuse

[Python-checkins] gh-112182: Replace StopIteration with RuntimeError for future (#113220)

2024-01-09 Thread gvanrossum
https://github.com/python/cpython/commit/4826d52338396758b2d6790a498c2a06eec19a86 commit: 4826d52338396758b2d6790a498c2a06eec19a86 branch: main author: Jamie Phan committer: gvanrossum date: 2024-01-09T21:21:00-08:00 summary: gh-112182: Replace StopIteration with RuntimeError for future (#113220