| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
| |
3.11+ (GH-101127) (#101636)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Matthieu Dartiailh <m.dartiailh@gmail.com>
|
| |
|
|
|
| |
Revert "[3.11] gh-101266: Fix __sizeof__ for subclasses of int (GH-101394) (#101579)"
This reverts commit cf89c16486a4cc297413e17d32082ec4f389d725.
|
| |
|
|
|
|
|
|
| |
(GH-101617)
Fixes https://github.com/python/cpython/issues/101616
(cherry picked from commit 949c58f945b93af5b7bb70c6448e940da669065d)
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
parent fields (GH-101563)
(cherry picked from commit b96b344f251954bb64aeb13c3e0c460350565c2a)
Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
found (GH-101544)
(cherry picked from commit 7a253103d4c64fcca4c0939a584c2028d8da6829)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
| |
|
|
|
|
|
| |
(gh-101388)
(cherry picked from commit 9ef7e75434587fc8f167d73eee5dd9bdca62714b)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
|
| |
|
|
|
|
|
| |
(GH-101590)
(cherry picked from commit ef7c2bfcf1fd618438f981ace64499a99ae9fae0)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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.)
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
| |
(cherry picked from commit f11a3d1ebe0c78f8c159c63a37022b9b96f720dd)
Co-authored-by: Max Bachmann <oss@maxbachmann.de>
|
| |
|
|
| |
MSBuild properties (GH-101523)
|
| |
|
|
|
| |
(cherry picked from commit 45d014e03ba7ba4c9c912120ec36b2aca02061f4)
Co-authored-by: François Magimel <magimel.francois@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-101514)
(cherry picked from commit 5c39daf50b7f388f9b24bb2d6ef415955440bebf)
Co-authored-by: Viet Than <thanhoangviet@gmail.com>
|
| |
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
| |
(cherry picked from commit 24cbc7a2a09bf22ff8122c1d50135e1c56622c95)
Co-authored-by: Peter Gessler <gesslerpd@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
(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>
|
| |
|
|
|
|
|
| |
runtime is installed (GH-101468)
(cherry picked from commit eda60916bc88f8af736790ffd52381e8bb83ae83)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
| |
|
|
|
|
| |
Doc/library/asyncio-task.rstGH-timeout
(cherry picked from commit 95fb0e02582b5673eff49694eb0dce1d7df52301)
Co-authored-by: Raj <51259329+workingpayload@users.noreply.github.com>
|
| |
|
|
|
| |
gh-101454: fix documentation for END_ASYNC_FOR (#101455)
(cherry picked from commit 62251c3da06eb4662502295697f39730565b1717)
|
| |
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
| |
(GH-101463)
(cherry picked from commit 20c11f2e600e1c0bf42de4d6f2fb3ce5ccc2587c)
Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>
Automerge-Triggered-By: GH:hugovk
|
| |
|
|
|
|
| |
(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>
|
| |
|
|
| |
(gh-101447)
|
| |
|
|
|
| |
(cherry picked from commit 1a62ae84c687791bc1dfb54d1eb75e1c7277bb04)
Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
| |
(cherry picked from commit ef09bf63d22b2efe5c0e9a2b9f25a9bec2ba1db0)
Co-authored-by: Ben <22038077+bcla22@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 28db978d7f134edf6c86f21c42e15003511e7e9b)
Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit ea232716d3de1675478db3a302629ba43194c967)
Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 0023f51debeeeef483a6362ee12d67c4da086af3)
Co-authored-by: Mateusz <mateka@users.noreply.github.com>
|
| |
|
|
|
|
| |
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>
|
| |
|
|
|
| |
(GH-101380) (GH-101382)
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
|
| |
|
|
|
| |
(GH-101373) (GH-101376)
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(#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>
|
| |
|
|
|
|
|
| |
(GH-101327) (#101328)
(cherry picked from commit a178ba82bfe2f2fb6f6ff0e67cb734fd7c4321e3)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
(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>
|
| |
|
|
|
|
|
| |
(GH-101031)
(cherry picked from commit 807d6b576fa37f3ab7eb951297cb365c0c198595)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
(cherry picked from commit c22a55c8b4f142ff679880ec954691d5920b7845)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
`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>
|
| |
|
|
|
|
|
| |
(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>
|
| |
|
|
|
|
|
| |
(GH-101114) (#101205)
(cherry picked from commit 01093b82037fbae83623581294a0f1cf5b4a44b0)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
| |
(cherry picked from commit 73497690b5debe01ba94ffefbecee034e39e8627)
Co-authored-by: Simon Robinson <simon@robinson.ac>
|
| |
|
|
|
| |
(cherry picked from commit 783d1bc51b886b6135e6a4effb91be207df5f50a)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
|