| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This addresses [bpo-45554]() by expanding the `exitcode` documentation to also describe what `exitcode` will be in cases of normal termination, `sys.exit()` called, and on uncaught exceptions.
Automerge-Triggered-By: GH:pitrou
(cherry picked from commit 3852269b91fcc8ee668cd876b3669eba6da5b1ac)
Co-authored-by: John Marshall <jmarshall@hey.com>
|
|
|
|
|
| |
(cherry picked from commit 65940fa5c12a4b4a0650c7845044ffd63b94e227)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit a287b31bcb065e4122400cb59167340d25480e6d)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(cherry picked from commit cfbde65df318eea243706ff876e5ef834c085e5f)
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Skip test_builtin PTY tests on non-ASCII characters if the readline
module is loaded. The readline module changes input() behavior, but
test_builtin is not intented to test the readline module.
When the readline module is loaded, PyOS_Readline() uses the readline
implementation. In some cases, the Python readline callback
rlhandler() is called by readline with a string without non-ASCII
characters.
(cherry picked from commit ad6e640f910787e73fd00f59117fbd22cdf88c78)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
|
| |
pre-existing footnote (GH-30354)
(cherry picked from commit 305588c67cdede4ef127ada90c1557bc1ef7c200)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Co-authored-by: Robert Collins <robertc@robertcollins.net>
(cherry picked from commit 73140de97cbeb01bb6c9af1da89ecb9355921e91)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| | |
Test if tracemalloc_copy_traces() failed to allocated memory in
tracemalloc_copy_domain().
(cherry picked from commit 7c770d3350813a82a639fcb3babae0de2b87aaae)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-30585)
(cherry picked from commit 276c234ce0fa6732237f1b187989837324d9dea3)
Co-authored-by: Christian Heimes <christian@python.org>
Automerge-Triggered-By: GH:tiran
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Py_EndInterpreter() now explicitly untracks all objects currently
tracked by the GC. Previously, if an object was used later by another
interpreter, calling PyObject_GC_UnTrack() on the object crashed if
the previous or the next object of the PyGC_Head structure became a
dangling pointer.
(cherry picked from commit 1a4d1c1c9b08e75e88aeac90901920938f649832)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
(cherry picked from commit 1de60155d5d01be2924e72fb68dd13d4fd00acd7)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
|
|
|
|
|
|
| |
First introduced in 0332e569c12d3dc97171546c6dc10e42c27de34b
(cherry picked from commit 607d8a838f29ad3c4c4e85b39f338dade5f9cafe)
Co-authored-by: Yury Selivanov <yury@edgedb.com>
|
|
|
|
|
|
|
| |
(cherry picked from commit 6f05e1ec193c132015e9a23d1137b1731596f186)
Co-authored-by: Julien Palard <julien@palard.fr>
Co-authored-by: Julien Palard <julien@palard.fr>
|
|
|
|
|
| |
(cherry picked from commit 6fa8b2ceee38187b0ae96aee12fe4f0a5c8a2ce7)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
| |
the current source code (GH-30387)
(cherry picked from commit 43c5c1369cb21f08a1dc1d63923c3586b883e3e8)
Co-authored-by: Julian Gilbey <julian-git@d-and-j.net>
|
|
|
|
|
| |
(cherry picked from commit 73decdf0214c3ca931c22889734758acf5e65dd7)
Co-authored-by: Michael Oliver <michaeloliver__@outlook.com>
|
|
|
|
|
| |
(cherry picked from commit e13cdca0f5224ec4e23bdd04bb3120506964bc8b)
Co-authored-by: Sam Gross <colesbury@gmail.com>
|
|
|
|
| |
(GH-30504) (GH-30509)
|
|
|
|
|
|
|
| |
(GH-30491)
(cherry picked from commit 3d11c1b8b49800c5c4c295953cc3abf577f6065a)
Co-authored-by: Thomas Klausner <tk@giga.or.at>
|
| |
|
|
|
|
|
| |
(cherry picked from commit ef5376e69e72fa922d7f1b3df47b99d3576f9df1)
Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit e63066cfed27511c9b786d61761f87f7a532571a)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
| |
Automerge-Triggered-By: GH:isidentical
(cherry picked from commit d382f7ee0b98e4ab6ade9384268f25c06be462ad)
Co-authored-by: Batuhan Taskaya <batuhan@python.org>
|
|
|
| |
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
|
|
|
|
|
| |
Co-authored-by: Ian Kelling <ian@iankelling.org>
(cherry picked from commit 6d07a9fb7cb31433c376a1aa20ea32001da0a418)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
docs (GH-24663) (GH-30461)
(cherry picked from commit 273cb8e7577d143830404f6779946a0bedb58758)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Automerge-Triggered-By: GH:iritkatriel
|
|
|
|
|
|
|
|
| |
(GH-30326)
Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit 9b7aa6a9d678ba798c57fa5bbc800014dfe4fb91)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
|
|
|
|
|
| |
If init flag is set, exit successfully immediately.
If not, only set the flag after successful initialization.
(cherry picked from commit b127e70a8a682fe869c22ce04c379bd85a00db67)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
| |
configura… (GH-30411) (GH-30447)
|
|
|
|
|
|
| |
Automerge-Triggered-By: GH:tiran
(cherry picked from commit c9137d4b638c0699b904011cafe68895d28dd80b)
Co-authored-by: Christian Heimes <christian@python.org>
|
|
|
|
|
|
|
|
| |
(GH-30434)
Automerge-Triggered-By: GH:tiran
(cherry picked from commit a4aa52dc2801d25b6343fe2ef8de7f40ea3bc883)
Co-authored-by: Christian Heimes <christian@python.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-20085)" (GH-30422) (GH-30425)
This reverts commit ea251806b8dffff11b30d2182af1e589caf88acf.
Keep "assert(interned == NULL);" in _PyUnicode_Fini(), but only for
the main interpreter.
Keep _PyUnicode_ClearInterned() changes avoiding the creation of a
temporary Python list object.
Leave the PyInterpreterState structure unchanged to keep the ABI
backward compatibility with Python 3.10.0: rename the "interned"
member to "unused_interned".
(cherry picked from commit 35d6540c904ef07b8602ff014e520603f84b5886)
|
|
|
|
|
|
|
|
| |
Automerge-Triggered-By: GH:asvetlov
(cherry picked from commit b50e5e916a05df65ab6a255af7624b751e0fe9d1)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
(GH-30428)
(cherry picked from commit 3e43fac2503afe219336742b150b3ef6e470686f)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
|
|
|
|
|
|
| |
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 46e4c257e7c26c813620232135781e6c53fe8d4d)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit cae55542d23e606dde9819d5dadd7430085fcc77)
Co-authored-by: Christian Heimes <christian@python.org>
|
|
|
|
|
|
|
| |
(cherry picked from commit f404e26d749c85eef7b5be836375260855050ee3)
Co-authored-by: Philipp Claßen <philipp.classen@posteo.de>
Co-authored-by: Philipp Claßen <philipp.classen@posteo.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-30168)
* bpo-20369: concurrent.futures.wait() now deduplicates futures given as arg.
* 📜🤖 Added by blurb_it.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 7d7817cf0f826e566d8370a0e974bbfed6611d91)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-30395)
`ResourceWarning` is ignored by default.
Document this behaviour, for consistency with others in this table such as `DeprecationWarning`.
Documentation PR can skip NEWS file.
Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit b949845b36b999185ed2bdf8a04dca1da39f3002)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
| |
docs (GH-30341)
(cherry picked from commit e09d94a140a5f6903017da9b6ac752ba041d69da)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
| |
(GH-30353) (#30388)
(cherry picked from commit 5a2a65096c3ec2d37f33615f2a420d2ffcabecf2)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
| |
(GH-30373)
|
|
|
|
|
|
|
|
|
|
| |
Remove the bit about subclassing exceptions.
Documentation PR can skip the NEWS label.
Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit 2db56130631255ca2eb504519430fb2f1fe789e9)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
multiple leading periods (GH-30347) (GH-30368)
(cherry picked from commit 51700bf08b0dd4baf998440b2ebfaa488a2855ba)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-30348) (GH-30349)
This change solves two problems encountered by users of the macOS Python Launcher app on recent macOS releases (10.14+):
- The launcher app was no longer able to launch the macOS Terminal.app to run a script.
- Even if Terminal.app was already launched, the launcher app was unable to send an Apple Event to Terminal.app to open and run Python with the desired .py file.
(cherry picked from commit 549e62827262264cda30455e10e315602129da72)
Co-authored-by: Ned Deily <nad@python.org>
|