| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Co-authored-by: Jan Brasna <1784648+janbrasna@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-113344) (#113346)
gh-112305: Fix check-clean-src to detect frozen_modules .h files. (GH-113344)
A typo left this check broken so many of us who do out-of-tree builds
were seeing strange failures due to bad `Python/frozen_modules/*.h`
files being picked up from the source tree and used at build time from
different Python versions leading to errors like:
`Fatal Python error: _PyImport_InitCore: failed to initialize importlib`
Or similar once our build got to an "invoke the interpreter"
bootstrapping step due to incorrect bytecode being embedded.
(cherry picked from commit 103c4ea27464cef8d1793dab347f5ff3629dc243)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-113334) (#113339)
When wrapped, `_SSLProtocolTransport._force_close(exc)` is called just like in the unwrapped scenario `_SelectorTransport._force_close(exc)` or `_ProactorBasePipeTransport._force_close(exc)` would be called, except here the exception needs to be passed through the `SSLProtocol._abort()` method, which didn't accept an exception object.
This commit ensures that this path works, in the same way that the uvloop implementation of SSLProto passes on the exception (on which the current implementation of SSLProto is based).
(cherry picked from commit 1ff02385944924db7e683a607da2882462594764)
Co-authored-by: Martijn Pieters <mj@zopatista.com>
|
|
|
|
|
|
|
| |
gh-113255: Clarify docs for `typing.reveal_type` (GH-113286)
(cherry picked from commit 11ee912327ef51100d2a6b990249f25b6b1b435d)
Co-authored-by: Kir <note351@hotmail.com>
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
|
|
|
|
|
|
| |
Fix typo in datamodel docs (GH-113314)
(cherry picked from commit 5a7cc667f816f0377f763322c2367301ea3379ee)
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
Fix typo in collections.abc docs example (GH-113310)
Calling the instance reference arg for the __next__ method, "next", seems misleading as it would normally just be "self"
(cherry picked from commit 22b8945d7678be86f801ca54f004a5dba2006835)
Co-authored-by: David Greaves <david@dgreaves.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-113213) (#113294)
gh-108269: Add CFBundleAllowMixedLocalizations to Info.plist on macOS (GH-113213)
Adding this key with a value of true enables detecting the
users prefered language in libraries accessing system APIs
for this.
(cherry picked from commit 4cfce3a4da7ca9513e7f2c8ec94d50f8bddfa41b)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sysconfig.get_platform() (GH-112942) (#113264)
gh-102362: Fix macOS version number in result of sysconfig.get_platform() (GH-112942)
Change _osx_support.get_platform_osx() to make sure that the
version number in the result includes at least a major and
minor version (e.g. 14.2) even if MACOSX_DEPLOYMENT_TARGET is
set to just a major version (e.g. 14).
This matches the versions expected by pip when selecting
appropriate wheels for installation.
(cherry picked from commit 893c9ccf48eacb02fa6ae93632f2d0cb6778dbb6)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
|
| |
|
|
|
|
|
|
|
|
| |
types (GH-113236) (GH-113283)
gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236)
(cherry picked from commit 76d757b38b414964546393bdccff31c1f8be3843)
Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(GH-113209) (#113276)
Co-authored-by: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
|
|
|
|
|
|
|
|
|
| |
gh-113269: IDLE - Fix test_editor hang (macOS) (GH-113271)
Hangs on installed 3.13.0a2 on macOS Catalina.
Behavior on installed 3.12.1 and 3.11.7 is unknown.
(cherry picked from commit fa9ba02353d79632983b9fe24da851894877e342)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
| |
reading all data (GH-113200) (GH-113259)
(cherry picked from commit 41336a72b90634d5ac74a57b6826e4dd6fe78eac)
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
|
|
|
|
|
|
|
|
| |
* [3.12] gh-113246: Updated bundled pip to 23.3.2 (gh-113249)
Updated bundled pip to 23.3.2.
(cherry picked from commit 4a24bf9a13a7cf055113c04bde0874186722c62c)
Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
|
|
|
|
| |
(#113244)
|
|
|
|
|
|
| |
(#113239)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
| |
the namspace packages support" (GH-113195) (GH-113228)
(cherry picked from commit 21d52995ea490328edf9be3ba072821cd445dd30)
Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit cde1335485b7bffb12c378d230ae48ad77d76ab1)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#113133)
gh-105912: document gotcha with using os.fork on macOS (GH-112871)
* gh-105912: document gotcha with using os.fork on macOS
Using ``fork(2)`` on macOS when also using higher-level
system APIs in the parent proces can crash on macOS because
those system APIs are not written to handle this usage
pattern.
There's nothing we can do about this other than documenting
the problem.
(cherry picked from commit 22511f77c2818a138a252e6ddae89725d082f8b0)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
|
|
|
|
|
|
| |
Clarify nature of csvfile.
(cherry picked from commit 84df3172efe8767ddf5c28bdb6696b3f216bcaa6)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
| |
chained.from_iterable() (gh-113198) (gh-113201)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gh-110746: Improve markup in ``tkinter.ttk.rst`` (GH-111236)
* gh-110746: Improve markup in tkinter.ttk.rst
* gh-110746: Improve markup in tkinter.ttk.rst
* 📜🤖 Added by blurb_it.
---------
(cherry picked from commit 00d2b6d1fca91e1a83f7f99a370685b095ed4928)
Co-authored-by: Akshat Khandelwal <35228810+akshatgokul@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
|
|
|
|
|
|
| |
`library/` directory (GH-113163) (#113183)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
| |
(#113182)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-113128) (#113177)
gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128)
On Windows, Process.terminate() no longer sets the returncode
attribute to always call WaitForSingleObject() in Process.wait().
Previously, sometimes the process was still running after
TerminateProcess() even if GetExitCodeProcess() is not STILL_ACTIVE.
(cherry picked from commit 4026ad5b2c595b855a3605420cfa0e3d49e63db7)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
|
| |
(GH-113164)
(cherry picked from commit 8f8f0f97e126db9ca470fd7e7b2944c150db6305)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-113125) (#113158)
gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` (GH-113125)
(cherry picked from commit 7bb00f053e0a86bb8827cc464961a4fad9278e6d)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
| |
(gh-113150)
|
|
|
|
|
| |
(cherry picked from commit 25061f5c98a47691fdb70f550943167bda77f6e0)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
| |
(#113142)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
(GH-113132)
(cherry picked from commit a723a13bf135306cdc5999a959596bfb487e8f4f)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-113116) (#113136)
gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (GH-113116)
(cherry picked from commit 006355b2a966060541166608ecfec4c957b85f55)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
| |
factor(). (gh-113131) (gh-113134)
|
|
|
|
| |
(gh-113122)
|
|
|
|
|
|
|
|
| |
(#113111)
gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (GH-113106)
(cherry picked from commit d9e1b5794a8fade21773d18f91a07f80b55c839c)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
| |
`reference/simple_stmts.rst` (GH-113107) (#113109)
gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and `reference/simple_stmts.rst` (GH-113107)
(cherry picked from commit 4b3cb082da82da744f5db0b7315aa80558c51557)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
|
| |
(GH-112770) (GH-113103)
It was raised in two cases:
* in the import statement when looking up __import__
* in pickling some builtin type when looking up built-ins iter, getattr, etc.
(cherry picked from commit 1161c14e8c68296fc465cd48970b32be9bee012e)
|
|
|
|
|
|
|
| |
(GH-113091) (GH-113099)
(cherry picked from commit c6e953be125c491226adc1a5bc9c804ce256aa17)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
object (GH-111221) (GH-113096)
(cherry picked from commit bb36f72efcc6a656e0907ffa83620a1e44044895)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit b3c21265fa48a137a4c6a35e425b2b7f94f96cf4)
Co-authored-by: Daniel Wysocki <dwysocki@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
(GH-113088)
Also make test_copymode_symlink_to_symlink in test_shutil more strict.
(cherry picked from commit b4f2c89118d5a48ce6c495ba931d7f6493422029)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
| |
gh-112867: fix for WITH_PYMALLOC_RADIX_TREE=0 (GH-112885)
The _obmalloc_usage structure is only defined if the obmalloc radix tree
is enabled.
(cherry picked from commit 890ce430d94b0b2bccc92a8472b1e1030b4faeb8)
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
|
|
|
|
|
|
|
|
|
| |
(GH-20130) (GH-113070)
Order of tests matter second part makes testing file writable and
possible to remove again.
(cherry picked from commit f5c05e015c178975f24b77e5a8975a22d694e019)
Co-authored-by: Pavol Babinčák <scroolik@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-113066)
gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960)
POSIX specifies that implementations are not required to support changing the
file mode of symbolic links, but may do so.
Consequently, `lchmod()` is not part of POSIX (but mentioned for implementations
which do support the above).
The current wording of the availability of `os.lchmod()` is rather vague and
improved to clearly tell which POSIX/Unix/BSD-like support the function in
general (those that support changing the file mode of symbolic links).
Further, some examples of major implementations are added.
Data for the BSDs taken from their online manpages.
(cherry picked from commit f14e3d59c955fb3cf89e5241727ec566164dcf42)
Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Co-authored-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
|
|
|
| |
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
|
|
|
|
|
|
|
| |
gh-101100: Improve docs on exception attributes (GH-113057)
(cherry picked from commit d05a180350fe20d5fde56c7e525e394a0b282703)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
|
| |
parameter (GH-112963) (#113053)
[pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (GH-112963)
(cherry picked from commit 2a3c37c273762d2dc40bfdae3899cb09b7c88d4a)
Co-authored-by: Sequew <88668176+KrySeyt@users.noreply.github.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
|