]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
2 years agogh-101541: [Enum] create flag psuedo-member without calling original __new__ (GH...
Miss Islington (bot) [Mon, 6 Feb 2023 03:52:22 +0000 (19:52 -0800)] 
gh-101541: [Enum] create flag psuedo-member without calling original __new__ (GH-101590)

(cherry picked from commit ef7c2bfcf1fd618438f981ace64499a99ae9fae0)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2 years agogh-101334: Don't force USTAR format in test_tarfile. (GH-101572)
Miss Islington (bot) [Sun, 5 Feb 2023 19:47:12 +0000 (11:47 -0800)] 
gh-101334: Don't force USTAR format in test_tarfile. (GH-101572)

That causes the test to fail when run using a high UID as that ancient format
cannot represent it. The current default (PAX) and the old default (GNU) both
support high UIDs.
(cherry picked from commit ffcb8220d7a8c8ca169b467d9e4a752874f68af2)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2 years ago[3.11] gh-101266: Fix __sizeof__ for subclasses of int (GH-101394) (#101579)
Mark Dickinson [Sun, 5 Feb 2023 12:18:56 +0000 (12:18 +0000)] 
[3.11] gh-101266: Fix __sizeof__ for subclasses of int (GH-101394) (#101579)

Fix the behaviour of the `__sizeof__` method (and hence the results returned
by `sys.getsizeof`) for subclasses of `int`. Previously, `int` subclasses gave
identical results to the `int` base class, ignoring the presence of the instance
dictionary.

(Manual backport of #101394 to the Python 3.11 branch.)

2 years agoGH-56426: Add cross-reference to the documentation for faulthandler, traceback, and...
Miss Islington (bot) [Sat, 4 Feb 2023 03:56:57 +0000 (19:56 -0800)] 
GH-56426: Add cross-reference to the documentation for faulthandler, traceback, and pdb. (GH-101157)

(cherry picked from commit cef9de62b8bf5e2d11d5a074012dfa81dc4ea935)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2 years agoAdd missing `versionadded` directive for `PyCode_Addr2Location` (GH-101347)
Miss Islington (bot) [Sat, 4 Feb 2023 03:40:51 +0000 (19:40 -0800)] 
Add missing `versionadded` directive for `PyCode_Addr2Location` (GH-101347)

(cherry picked from commit f11a3d1ebe0c78f8c159c63a37022b9b96f720dd)

Co-authored-by: Max Bachmann <oss@maxbachmann.de>
2 years agogh-101522: Allow overriding Windows dependencies versions and paths using MSBuild...
Steve Dower [Fri, 3 Feb 2023 18:54:39 +0000 (18:54 +0000)] 
gh-101522: Allow overriding Windows dependencies versions and paths using MSBuild properties (GH-101523)

2 years agodocs: replace PyPI description with link (GH-101506)
Miss Islington (bot) [Fri, 3 Feb 2023 07:31:43 +0000 (23:31 -0800)] 
docs: replace PyPI description with link (GH-101506)

(cherry picked from commit 45d014e03ba7ba4c9c912120ec36b2aca02061f4)

Co-authored-by: François Magimel <magimel.francois@gmail.com>
2 years agogh-100920: Update documentation for `asyncio.StreamWriter.wait_closed` (GH-101514)
Miss Islington (bot) [Fri, 3 Feb 2023 07:26:37 +0000 (23:26 -0800)] 
gh-100920: Update documentation for `asyncio.StreamWriter.wait_closed` (GH-101514)

(cherry picked from commit 5c39daf50b7f388f9b24bb2d6ef415955440bebf)

Co-authored-by: Viet Than <thanhoangviet@gmail.com>
2 years agogh-100925: Move array methods under class in array doc (GH-101485)
Miss Islington (bot) [Fri, 3 Feb 2023 00:12:09 +0000 (16:12 -0800)] 
gh-100925: Move array methods under class in array doc (GH-101485)

* Move array methods under class in array doc

* Fix a few internal references related to the touched lines
(cherry picked from commit 1b6045668d233269f667c4658c7240256f37f111)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2 years agodocs: Fix enum reassign `str` documentation (GH-101507)
Miss Islington (bot) [Thu, 2 Feb 2023 20:40:30 +0000 (12:40 -0800)] 
docs: Fix enum reassign `str` documentation (GH-101507)

(cherry picked from commit 24cbc7a2a09bf22ff8122c1d50135e1c56622c95)

Co-authored-by: Peter Gessler <gesslerpd@users.noreply.github.com>
2 years agoDocs: improve accuracy of sqlite3 `check_same_thread` parameter (GH-101351)
Miss Islington (bot) [Thu, 2 Feb 2023 00:00:27 +0000 (16:00 -0800)] 
Docs: improve accuracy of sqlite3 `check_same_thread` parameter (GH-101351)

(cherry picked from commit ee21110086e277a0ac24f5f768f35847b4db3380)

Co-authored-by: Marcos Pereira <3464445+marcospgp@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2 years agogh-101467: Correct py.exe handling of prefix matches and cases when only one runtime...
Miss Islington (bot) [Wed, 1 Feb 2023 21:31:21 +0000 (13:31 -0800)] 
gh-101467: Correct py.exe handling of prefix matches and cases when only one runtime is installed (GH-101468)

(cherry picked from commit eda60916bc88f8af736790ffd52381e8bb83ae83)

Co-authored-by: Steve Dower <steve.dower@python.org>
2 years agogh-101498 : Fix asyncio.Timeout example in docs (GH-101499)
Miss Islington (bot) [Wed, 1 Feb 2023 18:19:11 +0000 (10:19 -0800)] 
gh-101498 : Fix asyncio.Timeout example in docs (GH-101499)

Doc/library/asyncio-task.rstGH-timeout
(cherry picked from commit 95fb0e02582b5673eff49694eb0dce1d7df52301)

Co-authored-by: Raj <51259329+workingpayload@users.noreply.github.com>
2 years ago[3.11] gh-101454: fix documentation for END_ASYNC_FOR (#101455) (#101493)
Irit Katriel [Wed, 1 Feb 2023 14:30:48 +0000 (14:30 +0000)] 
[3.11] gh-101454: fix documentation for END_ASYNC_FOR (#101455) (#101493)

gh-101454: fix documentation for END_ASYNC_FOR (#101455)

(cherry picked from commit 62251c3da06eb4662502295697f39730565b1717)

2 years agogh-98657: [docs] `array.typecodes` is a module-level attribute (GH-98729)
Miss Islington (bot) [Wed, 1 Feb 2023 05:48:19 +0000 (21:48 -0800)] 
gh-98657: [docs] `array.typecodes` is a module-level attribute (GH-98729)

* gh-98657: [docs] `array.typecodes` is a module-level attribute

* Update array.rst
(cherry picked from commit c144e57b316e97a58ed5ad813c847fa8d2341dd7)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] gh-101440: fix json snippet error in logging-cookbook.rst (GH-101439) (GH...
Miss Islington (bot) [Tue, 31 Jan 2023 15:51:48 +0000 (07:51 -0800)] 
[3.11] gh-101440: fix json snippet error in logging-cookbook.rst (GH-101439) (GH-101463)

(cherry picked from commit 20c11f2e600e1c0bf42de4d6f2fb3ce5ccc2587c)

Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>
Automerge-Triggered-By: GH:hugovk
2 years agogh-99276 - Updated Doc/faq/general.rst (GH-101396)
Miss Islington (bot) [Tue, 31 Jan 2023 15:27:55 +0000 (07:27 -0800)] 
gh-99276 - Updated Doc/faq/general.rst (GH-101396)

(cherry picked from commit df0068ce4827471cc2962631ee64f6f38e818ec4)

Co-authored-by: Raj <51259329+workingpayload@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] gh-101400: Fix incorrect lineno in exception message on contin… (gh-101447)
Dong-hee Na [Tue, 31 Jan 2023 14:53:14 +0000 (23:53 +0900)] 
[3.11] gh-101400: Fix incorrect lineno in exception message on contin… (gh-101447)

2 years agoAdd JOBS parameter to docs Makefile (GH-101395)
Miss Islington (bot) [Tue, 31 Jan 2023 13:39:06 +0000 (05:39 -0800)] 
Add JOBS parameter to docs Makefile (GH-101395)

(cherry picked from commit 1a62ae84c687791bc1dfb54d1eb75e1c7277bb04)

Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
2 years agogh-77607: Improve accuracy of os.path.join docs (GH-101406)
Miss Islington (bot) [Tue, 31 Jan 2023 05:46:48 +0000 (21:46 -0800)] 
gh-77607: Improve accuracy of os.path.join docs (GH-101406)

This is a follow-up to GH-100811.

One of the changes in that PR isn't accurate in that
`os.path.join('', '')` will not end in a separator.

This reverts that change to the previous wording that used "only", but
explicitly calls out the case where the last part ends in a separator,
which is what caused confusin in GH-77607 and motivated the change
in GH-100811.
(cherry picked from commit 909a6746939ea1d09fab21f26b558cfd7e3e29a0)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2 years agoFixes typo in asyncio.TaskGroup context manager code example (GH-101449)
Miss Islington (bot) [Tue, 31 Jan 2023 05:46:35 +0000 (21:46 -0800)] 
Fixes typo in asyncio.TaskGroup context manager code example (GH-101449)

(cherry picked from commit ef09bf63d22b2efe5c0e9a2b9f25a9bec2ba1db0)

Co-authored-by: Ben <22038077+bcla22@users.noreply.github.com>
2 years agogh-101229: Add tests for aliases of imported names (GH-101230)
Miss Islington (bot) [Mon, 30 Jan 2023 20:21:18 +0000 (12:21 -0800)] 
gh-101229: Add tests for aliases of imported names (GH-101230)

(cherry picked from commit 28db978d7f134edf6c86f21c42e15003511e7e9b)

Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
2 years agogh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH-101424)
Miss Islington (bot) [Mon, 30 Jan 2023 18:10:26 +0000 (10:10 -0800)] 
gh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH-101424)

(cherry picked from commit ea232716d3de1675478db3a302629ba43194c967)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
2 years agogh-98240: Updated Path.rename docs, when it is atomic (GH-98245)
Miss Islington (bot) [Mon, 30 Jan 2023 01:52:29 +0000 (17:52 -0800)] 
gh-98240: Updated Path.rename docs, when it is atomic (GH-98245)

(cherry picked from commit 0023f51debeeeef483a6362ee12d67c4da086af3)

Co-authored-by: Mateusz <mateka@users.noreply.github.com>
2 years agoFix trivial typo in shebang example (GH-101385)
Miss Islington (bot) [Sun, 29 Jan 2023 21:14:23 +0000 (13:14 -0800)] 
Fix trivial typo in shebang example (GH-101385)

The example was showing the current version, but should be pinned to 3.7 to match the example command.
(cherry picked from commit 666c0840dcac9941fa41ec619fef8d45cd849a0b)

Co-authored-by: socal-nerdtastic <37753609+socal-nerdtastic@users.noreply.github.com>
2 years ago[3.11] [doc] Add a section on logging handler configuration order. (GH-101380) (GH...
Miss Islington (bot) [Fri, 27 Jan 2023 19:12:18 +0000 (11:12 -0800)] 
[3.11] [doc] Add a section on logging handler configuration order. (GH-101380) (GH-101382)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2 years ago[3.11] [doc] Add some notices to logging configuration documentation. (GH-101373...
Miss Islington (bot) [Fri, 27 Jan 2023 17:45:59 +0000 (09:45 -0800)] 
[3.11] [doc] Add some notices to logging configuration documentation. (GH-101373) (GH-101376)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2 years ago[3.11] gh-99952: fix refcount issues in ctypes.Structure from_param() result (#101339)
Gregory P. Smith [Thu, 26 Jan 2023 09:02:37 +0000 (01:02 -0800)] 
[3.11] gh-99952: fix refcount issues in ctypes.Structure from_param() result (#101339)

[3.11] gh-99952: [ctypes] fix refcount issues in from_param() result. (GH-100169)

Fixes a reference counting issue with `ctypes.Structure` when a `from_param()` method call is used and the structure size is larger than a C pointer `sizeof(void*)`.

This problem existed for a very long time, but became more apparent in 3.8+ by change likely due to garbage collection cleanup timing changes..
(cherry picked from commit dfad678d7024ab86d265d84ed45999e031a03691)

Co-authored-by: Yukihiro Nakadaira <yukihiro.nakadaira@gmail.com>
2 years ago[3.11] gh-101326: Fix regression when passing None to FutureIter.throw (GH-101327...
Shantanu [Wed, 25 Jan 2023 21:01:13 +0000 (13:01 -0800)] 
[3.11] gh-101326: Fix regression when passing None to FutureIter.throw (GH-101327) (#101328)

(cherry picked from commit a178ba82bfe2f2fb6f6ff0e67cb734fd7c4321e3)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2 years agogh-101135: Add backwards compatibility to Windows launcher for older 32-bit versions...
Miss Islington (bot) [Tue, 24 Jan 2023 17:04:00 +0000 (09:04 -0800)] 
gh-101135: Add backwards compatibility to Windows launcher for older 32-bit versions (GH-101138)

Python 2.x and up to 3.4 did not contain the "-32" in their registry name, so the 32 and 64-bit installs were treated equal. Since 3.5/PEP 514 this is no longer true, but we still want to detect the EOL versions correctly in case people are still using them.

Additionally, the code to replace a node with one with a lower sort key was buggy (wrong node chosen, replace never happened since parent was always NULL, replaced node never freed, etc)
(cherry picked from commit daec3a463c747c852d7ee91e82770fb1763d7d31)

Co-authored-by: Martin Boisvert <martin.boisvert@optelgroup.com>
2 years ago[docs] Mention how to get/set a bigint PyLong via the C API (GH-101270)
Miss Islington (bot) [Tue, 24 Jan 2023 05:31:06 +0000 (21:31 -0800)] 
[docs] Mention how to get/set a bigint PyLong via the C API (GH-101270)

We don't need direct C APIs to get at a bigint representation of PyLong but we
do want the few people who need to understand how.

Additional Author:  CAM-Gerlach
(cherry picked from commit e244401ce508ad391295beb636e499fcc6797a2a)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2 years agogh-100795: Don't call freeaddrinfo on failure. (GH-101252)
Miss Islington (bot) [Mon, 23 Jan 2023 23:30:19 +0000 (15:30 -0800)] 
gh-100795: Don't call freeaddrinfo on failure. (GH-101252)

When getaddrinfo returns an error, the output pointer is in an unknown state
Don't call freeaddrinfo on it.  See the issue for discussion and details with
links to reasoning.  _Most_ libc getaddrinfo implementations never modify the
output pointer unless they are returning success.

(cherry picked from commit b724ac2fe7fbb5a7a33d639cad8e748f17b325e0)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Sergey G. Brester <github@sebres.de>
Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
2 years agoAdded asyncio REPL example to docs. (GH-101243)
Miss Islington (bot) [Mon, 23 Jan 2023 11:39:01 +0000 (03:39 -0800)] 
Added asyncio REPL example to docs. (GH-101243)

(cherry picked from commit 5d868efde9ea08b39357b962a02a0294aa97689c)

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2 years agogh-101015: Fix `typing.get_type_hints` with unpacked `*tuple` (PEP 646) (GH-101031)
Miss Islington (bot) [Mon, 23 Jan 2023 08:20:15 +0000 (00:20 -0800)] 
gh-101015: Fix `typing.get_type_hints` with unpacked `*tuple` (PEP 646) (GH-101031)

(cherry picked from commit 807d6b576fa37f3ab7eb951297cb365c0c198595)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] GH-101097: Switch from standard interval notation to greater or less than...
Miss Islington (bot) [Sun, 22 Jan 2023 21:45:55 +0000 (13:45 -0800)] 
[3.11] GH-101097: Switch from standard interval notation to greater or less than signs for random.random()'s documentation (GH-101119) (GH-101246)

(cherry picked from commit 8bcd4a6ec7f951d952c174c6a8d937cc62444738)

Co-authored-by: Andrew Hong <andrewhong@myyahoo.com>
Automerge-Triggered-By: GH:rhettinger
2 years agoBump Azure Pipelines to ubuntu-22.04 (GH-101089)
Miss Islington (bot) [Sat, 21 Jan 2023 14:39:37 +0000 (06:39 -0800)] 
Bump Azure Pipelines to ubuntu-22.04 (GH-101089)

(cherry picked from commit c22a55c8b4f142ff679880ec954691d5920b7845)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] gh-101037: Fix potential memory underallocation for zeros of int subtypes...
Miss Islington (bot) [Sat, 21 Jan 2023 10:54:09 +0000 (02:54 -0800)] 
[3.11] gh-101037: Fix potential memory underallocation for zeros of int subtypes (GH-101038) (#101219)

gh-101037: Fix potential memory underallocation for zeros of int subtypes (GH-101038)

This PR fixes object allocation in long_subtype_new to ensure that there's at least one digit in all cases, and makes sure that the value of that digit is copied over from the source long.

Needs backport to 3.11, but not any further: the change to require at least one digit was only introduced for Python 3.11.

Fixes GH-101037.
(cherry picked from commit 401fdf9c851eb61229250ebffa942adca99b36d1)

Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
2 years agogh-101143: Remove references to `TimerHandle` from `asyncio.base_events.BaseEventLoop...
Miss Islington (bot) [Sat, 21 Jan 2023 10:28:09 +0000 (02:28 -0800)] 
gh-101143: Remove references to `TimerHandle` from `asyncio.base_events.BaseEventLoop._add_callback` (GH-101197)

(cherry picked from commit 9e947675ae3dc32f5863e5ed3022301cf7fd79b4)

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2 years agogh-100750: pass encoding kwarg in lib/platform.py (GH-100751)
Miss Islington (bot) [Sat, 21 Jan 2023 05:07:56 +0000 (21:07 -0800)] 
gh-100750: pass encoding kwarg in lib/platform.py (GH-100751)

(cherry picked from commit 6b3993c556eb3bb36d1754a17643cddd3f6ade92)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2 years ago[3.11] gh-86610: Use attribute directive in docs for pathlib.PurePath (GH-101114...
Miss Islington (bot) [Fri, 20 Jan 2023 22:28:21 +0000 (14:28 -0800)] 
[3.11] gh-86610: Use attribute directive in docs for pathlib.PurePath (GH-101114) (#101205)

(cherry picked from commit 01093b82037fbae83623581294a0f1cf5b4a44b0)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
2 years ago[3.11] GH-101111: Disambigaute origin of const for store_const and append_const ...
Miss Islington (bot) [Fri, 20 Jan 2023 22:22:04 +0000 (14:22 -0800)] 
[3.11] GH-101111: Disambigaute origin of const for store_const and append_const (GH-101121) (#101203)

(cherry picked from commit 9a155138c58cad409e28e34359ba87ec0025b6b7)

While the documentation for `optparse` mentioned that both `store_const` and
`append_const` store a constant value, it was not clear where this value was
coming from.

A link to `Option.const` makes this explicit.

Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
2 years ago[3.11] Fix minor typos in SSL documentation (GH-101158) (#101201)
Miss Islington (bot) [Fri, 20 Jan 2023 22:18:25 +0000 (14:18 -0800)] 
[3.11] Fix minor typos in SSL documentation (GH-101158) (#101201)

(cherry picked from commit 73497690b5debe01ba94ffefbecee034e39e8627)

Co-authored-by: Simon Robinson <simon@robinson.ac>
2 years agogh-91485: Avoid unnecessary use of non-Python syntax in io docs (GH-101177)
Miss Islington (bot) [Fri, 20 Jan 2023 22:12:26 +0000 (14:12 -0800)] 
gh-91485: Avoid unnecessary use of non-Python syntax in io docs (GH-101177)

(cherry picked from commit 783d1bc51b886b6135e6a4effb91be207df5f50a)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2 years ago[3.11] gh-101100: [Enum] Fix sphinx warnings in docs (GH-101122) (#101173)
Miss Islington (bot) [Fri, 20 Jan 2023 22:07:23 +0000 (14:07 -0800)] 
[3.11] gh-101100: [Enum] Fix sphinx warnings in docs (GH-101122) (#101173)

(cherry picked from commit 9e025d305f159aebf01775ad1dc2817679f01aa9)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2 years ago[3.11] Provided better example for logging cookbook (GH-101164) (GH-101184)
Miss Islington (bot) [Fri, 20 Jan 2023 17:43:08 +0000 (09:43 -0800)] 
[3.11] Provided better example for logging cookbook (GH-101164) (GH-101184)

Co-authored-by: Vladimir Malinovskii <galqiwi@galqiwi.ru>
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2 years ago[3.11] gh-101144: Allow zipfile.Path .open & .read_text encoding to be positional...
Gregory P. Smith [Fri, 20 Jan 2023 08:06:18 +0000 (00:06 -0800)] 
[3.11] gh-101144: Allow zipfile.Path .open & .read_text encoding to be positional (#101179)

The zipfile.Path open() and read_text() encoding parameter can be supplied as a positional argument without causing a TypeError again. 3.10.0b1 included a regression that made it keyword only.

Documentation update included as users writing code to be compatible with a wide range of versions will need to consider this for some time..

(cherry picked from commit 5927013e47a8c63b70e104152351f3447baa819c)

Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
2 years agogh-101041: Fix a misspelled name of `utctimetuple` in a doc warning (GH-101042)
Miss Islington (bot) [Fri, 20 Jan 2023 05:06:47 +0000 (21:06 -0800)] 
gh-101041: Fix a misspelled name of `utctimetuple` in a doc warning (GH-101042)

(cherry picked from commit 8e9d08b062bbabfe439bc73f82e3d7bb3800189e)

Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2 years agoDocs: improve sqlite3 placeholders example (GH-101092)
Miss Islington (bot) [Wed, 18 Jan 2023 09:43:44 +0000 (01:43 -0800)] 
Docs: improve sqlite3 placeholders example (GH-101092)

(cherry picked from commit b84be8d9c0e6eca37be14c38250580251a3ef908)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2 years agogh-82052: Don't send partial UTF-8 sequences to the Windows API (GH-101103)
Miss Islington (bot) [Tue, 17 Jan 2023 19:52:50 +0000 (11:52 -0800)] 
gh-82052: Don't send partial UTF-8 sequences to the Windows API (GH-101103)

Don't send partial UTF-8 sequences to the Windows API
(cherry picked from commit f34176b77f222726d901595968a4b44456186da4)

Co-authored-by: Paul Moore <p.f.moore@gmail.com>
2 years agoFix typo in `ReprEnum` documentation (GH-101079)
Miss Islington (bot) [Tue, 17 Jan 2023 10:59:35 +0000 (02:59 -0800)] 
Fix typo in `ReprEnum` documentation (GH-101079)

(cherry picked from commit c5660ae96f2ab5732c68c301ce9a63009f432d93)

Co-authored-by: Viicos <65306057+Viicos@users.noreply.github.com>
2 years ago[3.11] gh-101046: Fix a potential memory leak in the parser when raising MemoryError...
Pablo Galindo Salgado [Mon, 16 Jan 2023 23:48:51 +0000 (23:48 +0000)] 
[3.11] gh-101046: Fix a potential memory leak in the parser when raising MemoryError (GH-101051) (#101085)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2 years agogh-100247: Improve documentation for custom shebang commands in py.exe launcher ...
Miss Islington (bot) [Mon, 16 Jan 2023 17:13:47 +0000 (09:13 -0800)] 
gh-100247: Improve documentation for custom shebang commands in py.exe launcher (GH-101083)

(cherry picked from commit 30753c37c6d00929af6afb5e0bc20bed4656d6b6)

Co-authored-by: Steve Dower <steve.dower@python.org>
2 years agogh-100320: Fix path calculations on Windows when python.exe is moved outside of the...
Steve Dower [Mon, 16 Jan 2023 17:00:34 +0000 (17:00 +0000)] 
gh-100320: Fix path calculations on Windows when python.exe is moved outside of the normal location (GH-100947)

2 years agogh-101056: Fix memory leak in `formatfloat()` in `bytesobject.c` (GH-101057)
Miss Islington (bot) [Mon, 16 Jan 2023 11:12:23 +0000 (03:12 -0800)] 
gh-101056: Fix memory leak in `formatfloat()` in `bytesobject.c` (GH-101057)

(cherry picked from commit b1a74a182d8762bda51838401ac92b6ebad9632a)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] GH-100942: Fix incorrect cast in property_copy(). (GH-100965). (#101008)
Nikita Sobolev [Sun, 15 Jan 2023 07:08:25 +0000 (10:08 +0300)] 
[3.11] GH-100942: Fix incorrect cast in property_copy(). (GH-100965). (#101008)

(cherry picked from commit 94fc7706b7bc3d57cdd6d15bf8e8c4499ae53a69)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2 years ago[3.11] Sync-up parameter name in equivalent code snippet of `enumerate` (GH-101029...
Miss Islington (bot) [Sun, 15 Jan 2023 06:46:06 +0000 (22:46 -0800)] 
[3.11] Sync-up parameter name in equivalent code snippet of `enumerate` (GH-101029) (#101030)

Sync-up parameter name in equivalent code snippet of `enumerate` (GH-101029)
(cherry picked from commit ef633e5000222a3dba74473c49d6a81fca0a44ec)

Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com>
2 years agogh-100668: Clarify how sqlite3 maps parameters onto placeholders (GH-100960)
Miss Islington (bot) [Sat, 14 Jan 2023 23:04:53 +0000 (15:04 -0800)] 
gh-100668: Clarify how sqlite3 maps parameters onto placeholders (GH-100960)

(cherry picked from commit 206f05a46b426eb374f724f8e7cd42f2f9643bb8)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2 years agogh-101021: Document binary parameters as bytes (GH-101024)
Miss Islington (bot) [Sat, 14 Jan 2023 20:22:08 +0000 (12:22 -0800)] 
gh-101021: Document binary parameters as bytes (GH-101024)

(cherry picked from commit 49cae39ef020eaf242607bb2d2d193760b9855a6)

Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
2 years ago[3.11] Add recipes to showcase tee(), zip*, batched, starmap, and product. (GH-101028)
Raymond Hettinger [Sat, 14 Jan 2023 04:32:32 +0000 (22:32 -0600)] 
[3.11] Add recipes to showcase tee(), zip*, batched, starmap, and product. (GH-101028)

2 years ago[3.11] GH-100573: Fix server hang caused by os.stat() on named pipe (Windows) (GH...
Miss Islington (bot) [Fri, 13 Jan 2023 21:58:20 +0000 (13:58 -0800)] 
[3.11] GH-100573: Fix server hang caused by os.stat() on named pipe (Windows) (GH-100959) (#101019)

(cherry picked from commit 1bc7a736837272b15ad3a7aa472977bc720d1033)

2 years agogh-100247: Fix py.exe launcher not using entire shebang command for finding custom...
Miss Islington (bot) [Fri, 13 Jan 2023 12:52:28 +0000 (04:52 -0800)] 
gh-100247: Fix py.exe launcher not using entire shebang command for finding custom commands (GH-100944)

(cherry picked from commit 468c3bf79890ef614764b4e7543608876c792794)

Co-authored-by: Steve Dower <steve.dower@python.org>
2 years ago[3.11] gh-100160: Tweak the documentation for the default asyncio policy (GH-100969)
Serhiy Storchaka [Fri, 13 Jan 2023 08:15:23 +0000 (10:15 +0200)] 
[3.11] gh-100160: Tweak the documentation for the default asyncio policy (GH-100969)

2 years agogh-96290: Support partial/invalid UNC drives in ntpath.normpath() and splitdrive...
Steve Dower [Thu, 12 Jan 2023 21:32:26 +0000 (21:32 +0000)] 
gh-96290: Support partial/invalid UNC drives in ntpath.normpath() and splitdrive() (GH-100351)

This brings the Python implementation of `ntpath.normpath()` in line with the C implementation added in 99fcf15

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Eryk Sun <eryksun@gmail.com>
2 years agoFix typo in `enum` module documentation (GH-100992)
Miss Islington (bot) [Thu, 12 Jan 2023 15:51:11 +0000 (07:51 -0800)] 
Fix typo in `enum` module documentation (GH-100992)

(cherry picked from commit 2161bbf243983c625e8f24cdf43b757f2a21463b)

Co-authored-by: Noam Cohen <noam@noam.me>
2 years ago[3.11] gh-100931: Test all `pickle` protocols in `test_slice` (GH-100932). (GH-100979)
Nikita Sobolev [Thu, 12 Jan 2023 11:24:09 +0000 (14:24 +0300)] 
[3.11] gh-100931: Test all `pickle` protocols in `test_slice` (GH-100932). (GH-100979)

(cherry picked from commit 8795ad1bd0d6ee031543fcaf5a86a60b37950714)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Automerge-Triggered-By: GH:AlexWaygood
2 years ago[3.11] gh-100871: Improve `copy` module tests (GH-100872) (#100976)
Nikita Sobolev [Thu, 12 Jan 2023 11:15:00 +0000 (14:15 +0300)] 
[3.11] gh-100871: Improve `copy` module tests (GH-100872) (#100976)

(cherry picked from commit 729ab9b622957fef0e9b494af9a71ab02986c741)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years agoGH-100894: Updated the doc for `sys.winver` to clarify its usual contents (GH-100913)
Miss Islington (bot) [Thu, 12 Jan 2023 00:21:07 +0000 (16:21 -0800)] 
GH-100894: Updated the doc for `sys.winver` to clarify its usual contents (GH-100913)

(cherry picked from commit d9dff4c8b5ab41c47af002ad7fb083c953e75f31)

Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
2 years agoSkip py.exe launcher tests in full layout CI test (GH-100948)
Miss Islington (bot) [Wed, 11 Jan 2023 17:52:10 +0000 (09:52 -0800)] 
Skip py.exe launcher tests in full layout CI test (GH-100948)

These tests become flaky when py.exe exists on the test machine but isn't the one that was just built. They also don't provide any useful information for this scenario, so easiest to just skip them.
(cherry picked from commit 5ff029f7a30705ac00a1010d3d191edcd011f160)

Co-authored-by: Steve Dower <steve.dower@python.org>
2 years ago[3.11] GH-100892: Fix race in clearing `threading.local` (GH-100922). (#100937)
Kumar Aditya [Wed, 11 Jan 2023 15:31:48 +0000 (21:01 +0530)] 
[3.11] GH-100892: Fix race in clearing `threading.local` (GH-100922). (#100937)

(cherry picked from commit 762745a124cbc297cf2fe6f3ec9ca1840bb2e873)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2 years ago[3.11] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop() (#100412)
Serhiy Storchaka [Tue, 10 Jan 2023 20:20:09 +0000 (22:20 +0200)] 
[3.11] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop() (#100412)

Some deprecation warnings will reappear (in a slightly different form) in 3.12.

Co-authored-by: Guido van Rossum <guido@python.org>
2 years ago[3.11] gh-100916: Convert argument to appropriate type (GH-100917) (GH-100918)
Miss Islington (bot) [Tue, 10 Jan 2023 10:38:57 +0000 (02:38 -0800)] 
[3.11] gh-100916: Convert argument to appropriate type (GH-100917) (GH-100918)

Co-authored-by: Yao-Ching Huang <tom4996131207@gmail.com>
2 years ago[3.11] Fix typos in Doc folder (GH-100880). (#100914)
Hugo van Kemenade [Tue, 10 Jan 2023 09:42:03 +0000 (11:42 +0200)] 
[3.11] Fix typos in Doc folder (GH-100880). (#100914)

Co-authored-by: Semen Zhydenko <semen.zhydenko@gmail.com>
2 years agogh-100180: Update macOS installer to OpenSSL 1.1.1s (GH-100908)
Miss Islington (bot) [Tue, 10 Jan 2023 05:39:38 +0000 (21:39 -0800)] 
gh-100180: Update macOS installer to OpenSSL 1.1.1s (GH-100908)

(cherry picked from commit 57a5259a438c717755fc667fcbedb515ef8e0c85)

Co-authored-by: Ned Deily <nad@python.org>
2 years agogh-100893: update bpo reference in Mac README (GH-100905)
Miss Islington (bot) [Tue, 10 Jan 2023 03:40:34 +0000 (19:40 -0800)] 
gh-100893: update bpo reference in Mac README (GH-100905)

(cherry picked from commit be23a202426385ad99dcb2611152783780c7bc42)

Co-authored-by: Ned Deily <nad@python.org>
2 years agogh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100901)
Miss Islington (bot) [Tue, 10 Jan 2023 00:51:49 +0000 (16:51 -0800)] 
gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100901)

(cherry picked from commit d7ab7149f83e4f194cf0e3a438fb6ca177832c99)

Co-authored-by: Steve Dower <steve.dower@python.org>
2 years agobpo-28356: Document os.rename() behavior on Windows for differing volumes (GH-27376)
Miss Islington (bot) [Mon, 9 Jan 2023 21:52:43 +0000 (13:52 -0800)] 
bpo-28356: Document os.rename() behavior on Windows for differing volumes (GH-27376)

(cherry picked from commit e098137cd3250af05f19380590b8dec79dc5942f)

Co-authored-by: Ryan Ozawa <ryan.ozawa21@gmail.com>
2 years agoGH-81061: Fix refcount issue when returning `None` from a `ctypes.py_object` callback...
Miss Islington (bot) [Mon, 9 Jan 2023 16:06:17 +0000 (08:06 -0800)] 
GH-81061: Fix refcount issue when returning `None` from a `ctypes.py_object` callback (GH-13364)

(cherry picked from commit 837ba052672d1a5f85a46c1b6d4b6e7d192af6f3)

Co-authored-by: dgelessus <dgelessus@users.noreply.github.com>
2 years ago[3.11] Update copyright year in README (GH-100863) (GH-100864)
Miss Islington (bot) [Mon, 9 Jan 2023 02:55:52 +0000 (18:55 -0800)] 
[3.11] Update copyright year in README (GH-100863) (GH-100864)

(cherry picked from commit e47b13934b2eb50914e4dbae91f1dc59f8325e30)
Co-authored-by: Ned Deily <nad@python.org>
Co-authored-by: HARSHA VARDHAN <75431678+Thunder-007@users.noreply.github.com>
2 years ago[3.11] Update copyright years to 2023. (gh-100848) (GH-100849)
Miss Islington (bot) [Mon, 9 Jan 2023 01:57:17 +0000 (17:57 -0800)] 
[3.11] Update copyright years to 2023. (gh-100848) (GH-100849)

(cherry picked from commit 11f99323c2ae0ec428c370a335695e3d8d4afc1d)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
2 years agoGH-100805: Support numpy.array() in random.choice(). (GH-100830)
Miss Islington (bot) [Sun, 8 Jan 2023 20:04:49 +0000 (12:04 -0800)] 
GH-100805:  Support numpy.array() in random.choice(). (GH-100830)

(cherry picked from commit 9a68ff12c3e647a4f8dd935919ae296593770a6b)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2 years agogh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory...
Miss Islington (bot) [Sun, 8 Jan 2023 13:19:37 +0000 (05:19 -0800)] 
gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)" (GH-100745)

* gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)"

This reverts commit 7c83eaa536d2f436ae46211ca48692f576c732f0.
(cherry picked from commit b034fd3e5926c63a681a211087b4c666834c7525)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] gh-100776: Fix misleading default value in help(input) (GH-100788) (#100841)
Shantanu [Sun, 8 Jan 2023 09:23:12 +0000 (01:23 -0800)] 
[3.11] gh-100776: Fix misleading default value in help(input) (GH-100788) (#100841)

(cherry picked from commit a2141882f259e21bb09fa0b7cba8142147b9e3d7)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2 years agogh-100783: fix os.path.join documentation (GH-100811)
Miss Islington (bot) [Sun, 8 Jan 2023 09:22:44 +0000 (01:22 -0800)] 
gh-100783: fix os.path.join documentation (GH-100811)

- Use "drive", not "drive letter", because of UNC paths
- Previous components are not thrown away from relative drive letters
- Use "segment" instead of "component" for consistency with pathlib
- Other miscellaneous improvements
(cherry picked from commit 53455a319f3f2e5609fca2a313ea356fba318665)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2 years agogh-100824: Fix typo in the documentation of unittest.TestLoader.testNamePatterns...
Miss Islington (bot) [Sun, 8 Jan 2023 08:16:49 +0000 (00:16 -0800)] 
gh-100824: Fix typo in the documentation of unittest.TestLoader.testNamePatterns (GH-100825)

(cherry picked from commit 6d3bc4a795e7a60f665e41b2d4b6803f3844fc48)

Co-authored-by: busywhitespace <busywhitespace@tuta.io>
2 years ago[3.11] Future-proof recipe by renaming dotproduct() to sumprod() (GH-100828)
Raymond Hettinger [Sat, 7 Jan 2023 21:16:38 +0000 (15:16 -0600)] 
[3.11] Future-proof recipe by renaming dotproduct() to sumprod() (GH-100828)

2 years agogh-100673: Removed erroneous note in the get_type_hints docs (GH-100701)
Miss Islington (bot) [Sat, 7 Jan 2023 17:38:32 +0000 (09:38 -0800)] 
gh-100673: Removed erroneous note in the get_type_hints docs (GH-100701)

Removed erroneous note in the get_type_hints docs

typing.get_type_hints still includes base class type hints.
(cherry picked from commit deaf090699a7312cccb0637409f44de3f382389b)

Co-authored-by: FrozenBob <30644137+FrozenBob@users.noreply.github.com>
2 years agogh-99026 update dataclasses docs for when annotations are inspected (gh-100798)
Miss Islington (bot) [Fri, 6 Jan 2023 14:34:30 +0000 (06:34 -0800)] 
gh-99026 update dataclasses docs for when annotations are inspected (gh-100798)

update dataclasses docs for when annotations are inspected
(cherry picked from commit 659c2607f5b44a8a18a0840d1ac39df8a3219dd5)

Co-authored-by: Akshit Tyagi <37214399+exitflynn@users.noreply.github.com>
2 years ago[3.11] gh-90104: avoid RecursionError on recursive dataclass field repr (gh-100756...
Carl Meyer [Fri, 6 Jan 2023 02:08:33 +0000 (19:08 -0700)] 
[3.11] gh-90104: avoid RecursionError on recursive dataclass field repr (gh-100756) (GH-100784)

Avoid RecursionError on recursive dataclass field repr

(cherry picked from commit 0a7936a38f0bab1619ee9fe257880a51c9d839d5)

Automerge-Triggered-By: GH:ericvsmith
2 years agogh-87691: clarify use of anchor in pathlib docs (GH-100782)
Miss Islington (bot) [Fri, 6 Jan 2023 01:59:27 +0000 (17:59 -0800)] 
gh-87691: clarify use of anchor in pathlib docs (GH-100782)

This is feedback from https://github.com/python/cpython/pull/100737GH-discussion_r1062968696

This matches the wording from the `os.path.join` docs better:
https://docs.python.org/3/library/os.path.htmlGH-os.path.join

In particular, the previous use of "anchor" was incorrect given the
pathlib definition of "anchor".

(cherry picked from commit 2f2fa03ff3d566b675020787e23de8fb4ca78e99)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Barney Gale <barney.gale@gmail.com>
2 years agogh-87691: add an absolute path pathlib example in / operator docs (GH-100737)
Miss Islington (bot) [Thu, 5 Jan 2023 23:04:39 +0000 (15:04 -0800)] 
gh-87691: add an absolute path pathlib example in / operator docs (GH-100737)

The behaviour is fully explained a couple paragraphs above, but it may be useful to have a brief example to cover the behaviour.
(cherry picked from commit 1ae619c911ec8e096f83eeb7cc57fcd966950a3d)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Automerge-Triggered-By: GH:hauntsaninja
2 years agoGH-100766: Note that locale.LC_MESSAGES is not universal (GH-100767)
Miss Islington (bot) [Thu, 5 Jan 2023 03:46:13 +0000 (19:46 -0800)] 
GH-100766: Note that locale.LC_MESSAGES is not universal (GH-100767)

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2 years agogh-100739: Respect mock spec when checking for unsafe prefixes (GH-100740)
Miss Islington (bot) [Wed, 4 Jan 2023 23:08:37 +0000 (15:08 -0800)] 
gh-100739: Respect mock spec when checking for unsafe prefixes (GH-100740)

(cherry picked from commit 7f1eefc6f4843f0fca60308f557a71af11d18a53)

Co-authored-by: Christian Klein <167265+cklein@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] gh-81611: Improve `range` paragraph in 8.3 of language reference (GH-98353...
Miss Islington (bot) [Wed, 4 Jan 2023 20:57:24 +0000 (12:57 -0800)] 
[3.11] gh-81611: Improve `range` paragraph in 8.3 of language reference (GH-98353) (#100704)

gh-81611: Improve `range` paragraph in 8.3 of language reference (GH-98353)
(cherry picked from commit 8b1f1251215651c4ef988622345c5cb134e54d69)

Co-authored-by: 4l4k4z4m <alakazamjoined@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 years agodocs: fix `ssizeobjargproc` parameters (GH-100736)
Miss Islington (bot) [Wed, 4 Jan 2023 15:40:06 +0000 (07:40 -0800)] 
docs: fix `ssizeobjargproc` parameters (GH-100736)

(cherry picked from commit 5fb1c08e15b864d8ea9353a0e013166e2e0e2160)

Co-authored-by: David Lechner <david@lechnology.com>
2 years agoGH-86508: skip binding to local addresses of different family in `asyncio.open_connec...
Miss Islington (bot) [Wed, 4 Jan 2023 08:28:00 +0000 (00:28 -0800)] 
GH-86508: skip binding to local addresses of different family in `asyncio.open_connection` (GH-100615)

(cherry picked from commit ba8dcdbcab5fd9989be6c9a51002394e782c463c)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2 years ago[3.11] gh-89419: gdb: fix bug causing AttributeError in py-locals when no frame is...
Eli Schwartz [Wed, 4 Jan 2023 07:59:21 +0000 (02:59 -0500)] 
[3.11] gh-89419: gdb: fix bug causing AttributeError in py-locals when no frame is available (GH-100611) (#100738)

gh-89419: gdb: fix bug causing AttributeError in py-locals when no frame is available (GH-100611)

```
Unable to read information on python frame
Python Exception <class 'AttributeError'>: 'NoneType' object has no attribute 'co_name'
```

Regression in commit b4903afd4debbbd71dc49a2c8fefa74a3b6c6832. While
refactoring the code into a while loop, the previous early return when
no frame exists went missing. We have just printed a message that we
cannot get information about this, so the frame will be None, and we
cannot attempt to use it.

Discovered on python 3.11, in python 3.12a2 this should error out with
`.is_shim()` instead of `co_name`.

(cherry picked from commit 85869498331f7020e18bb243c89cd694f674b911)

2 years ago[3.11] Docs: Fix the Show Source link (GH-100733)
Zachary Ware [Tue, 3 Jan 2023 22:51:36 +0000 (16:51 -0600)] 
[3.11] Docs: Fix the Show Source link (GH-100733)

See also python/release-tools#10

2 years ago[Enum] docs: replace 'last value' by 'highest value' for Flag auto (GH-100709)
Miss Islington (bot) [Tue, 3 Jan 2023 22:27:38 +0000 (14:27 -0800)] 
[Enum] docs: replace 'last value' by 'highest value' for Flag auto  (GH-100709)

(cherry picked from commit 64ed609c532a12b27f67a1e12e9e02f136ee3a94)

Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
2 years agogh-100700: Remove Date and Release fields in past whatsnews (GH-100729)
Zachary Ware [Tue, 3 Jan 2023 22:10:57 +0000 (16:10 -0600)] 
gh-100700: Remove Date and Release fields in past whatsnews (GH-100729)

2 years ago[3.11] gh-100637: Fix int and bool __sizeof__ calculation to include the 1 element...
Miss Islington (bot) [Tue, 3 Jan 2023 17:59:40 +0000 (09:59 -0800)] 
[3.11] gh-100637: Fix int and bool __sizeof__ calculation to include the 1 element ob_digit array for 0 and False (GH-100663) (#100717)

gh-100637: Fix int and bool __sizeof__ calculation to include the 1 element ob_digit array for 0 and False (GH-100663)

Fixes behaviour where int (and subtypes like bool) __sizeof__ under-reports true size as it did not take into account the size 1 `ob_digit` array for the zero int.

(cherry picked from commit d7e7f79ca7c2029e46a06d21a7a5abea631b5d13)

Co-authored-by: Ionite <dev@ionite.io>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>