| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
during tempdirectory cleanup (GH-29940) (GH-112754)
(cherry picked from commit 8cdfee1bb902fd1e38d79170b751ef13a0907262)
Co-authored-by: Ken Jin <kenjin@python.org>
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
| |
docs (GH-112737) (#112749)
gh-101100: Fix many easily solvable Sphinx nitpicks in the datamodel docs (GH-112737)
(cherry picked from commit 2f20cafdbfc39925f9374f36f9d53bac365ed32a)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
| |
Standardize PyUnicode C API parameter names across the documentation.
(cherry picked from commit b31232ddf7f219ca8ff9e8d0401c02eb0b6ffec3)
Co-authored-by: Rune Tynan <runetynan@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
calls to 1gig (GH-112615) (#112725)
gh-105967: Work around a macOS bug, limit zlib C library crc32 API calls to 1gig (GH-112615)
Work around a macOS bug, limit zlib crc32 calls to 1GiB.
Without this, `zlib.crc32` and `binascii.crc32` could produce incorrect
results on multi-gigabyte inputs depending on the macOS version's Apple
supplied zlib implementation.
(cherry picked from commit 4eddb4c9d9452482c9af7fa9eec223d12b5a9f33)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
| |
(ПР-112712)
It breaks import machinery if the test module has submodules used in
other tests.
(cherry picked from commit e08b70fab1fbc45fa498020aac522ae1d5da6136)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
|
|
| |
gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (GH-112703)
(cherry picked from commit 9560e0d6d7a316341939b4016e47e03bd5bf17c3)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
| |
itertools.pairwise.__next__() (GH-109788) (GH-112700)
(cherry picked from commit 6ca9d3e0173c38e2eac50367b187d4c1d43f9892)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-109814) (#112701)
gh-101100: Fix sphinx warnings in `Doc/library/__future__.rst` (GH-109814)
(cherry picked from commit f2eaa92b0cc5a37a9e6010c7c6f5ad1a230ea49b)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
| |
(#112698)
gh-101100: Fix Sphinx nitpicks in `library/functions.rst` (GH-112669)
(cherry picked from commit cda737924fd616c4e08027888258f97e81f34447)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
| |
inside bytearray.join (GH-112626) (GH-112694)
(cherry picked from commit 0e732d0997cff08855d98c17af4dd5527f10e419)
Co-authored-by: chilaxan <chilaxan@gmail.com>
|
|
|
|
|
|
|
| |
(GH-112691)
(cherry picked from commit 23e001fa9f1897ba3384c02bbbe634313358a549)
Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
|
|
|
|
|
|
| |
Mostly double spacing before 'if __name__...'.
(cherry picked from commit e5b0db0315941b968ebcc2414bfcdd2da44fd3c2)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
| |
Revise spec-callable pairs from percolator to end.
(cherry picked from commit 5a1b5316af648ae79bb91f28253b6272bbbd2886)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
|
| |
(#112673)
gh-101100: Fix Sphinx warning in `library/gettext.rst` (GH-112668)
(cherry picked from commit 489aeac3a2d3b347ff033334688e2f44eec7944a)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
| |
(#112667)
gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662)
(cherry picked from commit 45650d1c479a8b0370f126d821718dd3c502f333)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
| |
Examine and update spec -- callable pairs.
Revise run method.
(cherry picked from commit 3855b45874d5f8eb92a4957fb9de6fdce63eb760)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
| |
(GH-112499) (GH-112663)
Use author link to 'The Perils of Floating Point'.
(cherry picked from commit c27b09c81368bc3b756e94a79a39307ce44a4a2c)
Co-authored-by: Marco Aurélio A. Barbosa <aureliobarbosa@gmail.com>
|
|
|
| |
(cherry-picked from commit 4ed46d224401243399b41c7ceef4532bd249da27)
|
|
|
|
|
|
|
|
|
|
| |
`inspect.Signature` (GH-112631) (GH-112649) (#112652)
[3.12] gh-112316: improve docs for `inspect.signature` and `inspect.Signature` (GH-112631) (GH-112649)
(cherry-picked from commit fc9e24b01fb7da4160b82cef26981d72bb678c13)
(cherry picked from commit 6221482f0c459c2e7dbd946265069246a400072a)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
| |
(#112633)
[3.12] gh-112618: Make Annotated cache typed (GH-112619) (GH-112628)
(cherry picked from commit 2a378ca2efcb91db4b04fb4e052424fd610ffbc9)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
| |
`Signature.from_callable` (#112317) (#112630)
(cherry-picked from commit a74daba7ca)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
| |
GH-112558 (GH-112605) (#112607)
[3.12] gh-109413: libregrtest: Backport `.py`-file changes from GH-112558 (GH-112605)
(cherry picked from commit acc62db8af4e472a4922c10b91c60c36c49a5f79)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
check on most files (GH-112586) (GH-112602) (#112603)
[3.12] gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586) (GH-112602)
gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586)
(cherry picked from commit 36dbebed44785579034ffb1a59f0a1a5b987c9bf)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
|
|
|
| |
(GH-10415)
On platforms with 64-bit long, socket.setblocking(x) treated all x
which lower 32 bits are zero as False due to integer truncation.
Reported by ubsan.
|
|
|
|
|
|
| |
gh-109413: regrtest: add WorkerRunTests class (GH-112588)
(cherry picked from commit f8ff80f63536e96b004d29112452a8f1738fde37)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
|
| |
(GH-112592)
(cherry picked from commit 058444308abee79bb1b3358883adfa8c97bd043a)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
| |
(GH-112551) (GH-112556)
(cherry picked from commit 2223899adce858a09ebeaaf82111e6cda9b42415)
|
|
|
|
|
|
| |
Revise htest.py docstring and move 2 specs to alphabetical position.
(cherry picked from commit e44f1940bd6d2ba4a3f8ac4585b3cf4f9cb93e49)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
| |
Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested.
(cherry picked from commit 81261fa67ff82b03c255733b0d1abbbb8a228187)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
| |
optional_keys in TypedDict (GH-112512) (#112531)
(cherry picked from commit 403886942376210662610627b01fea6acd77d331)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
| |
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gh-112431: Unconditionally call `hash -r` (GH-112432)
The `activate` script calls `hash -r` in two places to make sure the shell picks
up the environment changes the script makes. Before that, it checks to
see if the shell running the script is bash or zsh.
`hash -r` is specified by POSIX and is not exclusive to bash and zsh.
This guard prevents the script from calling `hash -r` in other
`GH-!/bin/sh`-compatible shells like dash.
(cherry picked from commit a194938f33a71e727e53490815bae874eece1460)
Co-authored-by: James Morris <6653392+J-M0@users.noreply.github.com>
|
|
|
|
|
|
| |
gh-112105: Make completer delims work on libedit (gh-112106)
(cherry picked from commit 2df26d83486b8f9ac6b7df2a9a4669508aa61983)
Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
|
|
|
|
|
|
|
|
| |
(GH-112479) (#112482)
Docs: fix markup for `importlib.machinery.NamespaceLoader` (GH-112479)
(cherry picked from commit 2e632fa07d13a58be62f59be4e656ad58b378f9b)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
| |
Backport PR #112477: correct socket AF_PACKET docs
Network byte order is not involved in the `int` on the Python side.
That happens under the hood.
Correctly use the term addresses instead of packets.
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-111453) (GH-111858)
* Remove mention of "vsapi" element type from the documentation.
* Add tests for element_create() and other ttk.Style methods.
* Add examples for element_create() in the documentation.
(cherry picked from commit 005d1e8fc81539c60c6b21ebba34de3edd5bb232)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
| |
tokenize errors (GH-112409) (#112469)
gh-112387: Fix error positions for decoded strings with backwards tokenize errors (GH-112409)
(cherry picked from commit 45d648597b1146431bf3d91041e60d7f040e70bf)
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
| |
overwrite tokenizer errors (GH-112410) (#112467)
gh-112388: Fix an error that was causing the parser to try to overwrite tokenizer errors (GH-112410)
(cherry picked from commit 2c8b19174274c183eb652932871f60570123fe99)
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
| |
(GH-21664) (GH-112465)
(cherry picked from commit 967f2a3052c2d22e31564b428a9aa8cc63dc2a9f)
Co-authored-by: kale-smoothie <34165060+kale-smoothie@users.noreply.github.com>
|
|
|
|
|
| |
tuples in PyArg_Parse (gh-112439) (GH-112461)
(cherry picked from commit 4eea1e82369fbf7a795d1956e7a8212a1b58009f)
|
|
|
|
|
|
|
|
|
| |
itemsize != 1 (GH-20310) (GH-112459)
It is also no longer use __len__().
(cherry picked from commit 812360fddda86d7aff5823f529ab720f57ddc411)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
|
| |
(#112456)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
| |
Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442)
(cherry picked from commit fb79e1ed4a985a487a02bb8585cc1bd2933dfa7c)
Co-authored-by: Tom Levy <tomlevy93@gmail.com>
|
| |
|
|
|
|
| |
mechanics (gh-112375) (gh-112413)
|
|
|
|
|
|
| |
(#112404)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|