-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backport a9a74da 3.13 #119642
backport a9a74da 3.13 #119642
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c844b14 - Browse repository at this point
Copy the full SHA c844b14View commit details -
[3.13] Run CI on the 3.13 branch (pythonGH-118779) (python#118781)
(cherry picked from commit c68311d) Co-authored-by: Jelle Zijlstra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58d9a9b - Browse repository at this point
Copy the full SHA 58d9a9bView commit details -
[3.13] Docs: fix typos in documentation (pythonGH-118752) (python#118787
) Docs: fix typos in documentation (pythonGH-118752) (cherry picked from commit 7b0c247) Co-authored-by: Xie Yanbo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02d49af - Browse repository at this point
Copy the full SHA 02d49afView commit details -
[3.13] pythongh-118772: Allow TypeVars without a default to follow th…
…ose with a default when constructing aliases (pythonGH-118774) (python#118776) (cherry picked from commit aac6b01) Co-authored-by: Jelle Zijlstra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6680cd - Browse repository at this point
Copy the full SHA c6680cdView commit details -
[3.13] docs: module page titles should not start with a link to thems…
…elves (pythonGH-117099) (python#118790) docs: module page titles should not start with a link to themselves (pythonGH-117099) (cherry picked from commit bcb435e) Co-authored-by: Ned Batchelder <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c33bba6 - Browse repository at this point
Copy the full SHA c33bba6View commit details -
[3.13] Format None, True, False and NotImplemented as literals (pytho…
…nGH-118758) (pythonGH-118792) (cherry picked from commit 05c2fe1) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f31af6 - Browse repository at this point
Copy the full SHA 8f31af6View commit details -
[3.13] pythongh-117657: Fix data races when writing / reading `ob_gc_…
…bits` (pythonGH-118292) (python#118796) Use relaxed atomics when reading / writing to the field. There are still a few places in the GC where we do not use atomics. Those should be safe as the world is stopped. (cherry picked from commit cb6f75a) Co-authored-by: mpage <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b9ca26 - Browse repository at this point
Copy the full SHA 7b9ca26View commit details
Commits on May 9, 2024
-
[3.13] [tests]: Mark
test_statistics.test_kde_random
with a ``req……uires_resource('cpu')`` decorator (pythonGH-118801) (python#118818) [tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource('cpu')`` decorator (pythonGH-118801) Mark test_kde_random with a requires_resource('cpu') decorator (cherry picked from commit 027e6d8) Co-authored-by: Kirill Podoprigora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09896fc - Browse repository at this point
Copy the full SHA 09896fcView commit details -
[3.13] pythongh-118033: Fix
__weakref__
not set for generic datacla……sses (pythonGH-118099) (python#118821) pythongh-118033: Fix `__weakref__` not set for generic dataclasses (pythonGH-118099) (cherry picked from commit fa9b9cb) Co-authored-by: Nikita Sobolev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 632682c - Browse repository at this point
Copy the full SHA 632682cView commit details -
pythongh-118486: Update docs for CVE-2024-4030 reference (pythonGH-11…
…8737) Update docs for CVE-2024-4030 reference
Configuration menu - View commit details
-
Copy full SHA for d86b494 - Browse repository at this point
Copy the full SHA d86b494View commit details -
[3.13] pythongh-103956: Fix
trace
output in case of missing source ……line (pythonGH-103958) (pythonGH-118834) Print only filename with lineno if linecache.getline() returns an empty string. (cherry picked from commit 7c87ce7) Co-authored-by: Radislav Chugunov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4b853f - Browse repository at this point
Copy the full SHA c4b853fView commit details -
pythongh-118802: Fix ACL use in test for non-English Windows (pythonG…
…H-118831) (cherry picked from commit 82acc5f) Co-authored-by: Steve Dower <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a98e44a - Browse repository at this point
Copy the full SHA a98e44aView commit details -
[3.13] pythongh-118817: Fix
asyncio REPL
on Windows (pythonGH-118819)…… (python#118847) (cherry picked from commit c3643a1) Co-authored-by: Kirill Podoprigora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 738877a - Browse repository at this point
Copy the full SHA 738877aView commit details -
[3.13] pythongh-117657: Acquire a critical section around `SemLock.__…
…{enter,exit}__` (pythonGH-118812) (python#118856) These methods are purely wrappers around `Semlock.{acquire,release}`, which expect a critical section to be held. (cherry picked from commit c30d8e5) Co-authored-by: mpage <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62a559a - Browse repository at this point
Copy the full SHA 62a559aView commit details -
pythongh-118773: Use language-invariant SDDL string instead of aliase…
…s for ACLs. (pythonGH-118800) (cherry picked from commit 8af84b5) Co-authored-by: Steve Dower <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d646d0 - Browse repository at this point
Copy the full SHA 9d646d0View commit details -
[3.13] pythongh-118849: Fix "code will never be executed" warning in …
…`dictobject.c` (pythonGH-118850) (python#118859) pythongh-118849: Fix "code will never be executed" warning in `dictobject.c` (pythonGH-118850) (cherry picked from commit 82abe75) Co-authored-by: Nikita Sobolev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 098eec9 - Browse repository at this point
Copy the full SHA 098eec9View commit details -
[3.13] pythongh-118561: Fix crash involving list.extend in free-threa…
…ded build (pythonGH-118723) (python#118863) The `list_preallocate_exact` function did not zero initialize array contents. In the free-threaded build, this could expose uninitialized memory to concurrent readers between the call to `list_preallocate_exact` and the filling of the array contents with items. (cherry picked from commit 2402715) Co-authored-by: Sam Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 846cfb9 - Browse repository at this point
Copy the full SHA 846cfb9View commit details -
[3.13] pythongh-116984: Make mimalloc header includes relative to the…
… current file (pythonGH-118808) (python#118866) Some embedders and extensions include parts of the internal API. The pycore_mimalloc.h file is transitively include by a number of other internal headers. This avoids include errors for code that was already including those headers. (cherry picked from commit 71cc065) Co-authored-by: Sam Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a23970 - Browse repository at this point
Copy the full SHA 0a23970View commit details -
[3.13] pythongh-118846: Fix PGO tests in free-threaded build (pythonG…
…H-118862) (python#118867) Avoid immortalizing objects in tests that verify garbage collection of classes or modules. This fixes test_ordered_dict and test_struct. (cherry picked from commit 1b1db2f) Co-authored-by: Sam Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4c6948 - Browse repository at this point
Copy the full SHA d4c6948View commit details -
[3.13] pythongh-117657: Replace TSAN suppresions with more specific r…
…ules (pythonGH-118722) (python#118870) Using `race:` filters out warnings if the function appears anywhere in the stack trace. This can hide a lot of unrelated warnings, especially for a function like `_PyEval_EvalFrameDefault`, which is somewhere on the stack more often than not. Change all free-threaded suppressions to `race_top:`, which only matches the top frame, and add any new suppressions this exposes. (cherry picked from commit 98ff3f6) Co-authored-by: Brett Simmers <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 982c73a - Browse repository at this point
Copy the full SHA 982c73aView commit details -
[3.13] pythongh-118851: Default ctx arguments to AST constructors to …
…Load() (pythonGH-118854) (python#118871) (cherry picked from commit 68fbc00) Co-authored-by: Jelle Zijlstra <[email protected]> Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00ec116 - Browse repository at this point
Copy the full SHA 00ec116View commit details -
[3.13] Revert "pythongh-115432: Add critical section variant that han…
…dles a NULL object (pythonGH-115433)" (pythonGH-118861) (python#118872) This reverts commit ad4f909. The API ended up not being used. (cherry picked from commit 46c8081) Co-authored-by: Sam Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b62cb52 - Browse repository at this point
Copy the full SHA b62cb52View commit details
Commits on May 10, 2024
-
Fix some missing null checks. (pythonGH-118721)
(cherry picked from commit 7e6fcab) Co-authored-by: Steve Dower <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d524802 - Browse repository at this point
Copy the full SHA d524802View commit details -
pythongh-118689: Doc: fix ePub build (pythonGH-118690)
(cherry picked from commit 7ac933e) Co-authored-by: Inada Naoki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 760b3f0 - Browse repository at this point
Copy the full SHA 760b3f0View commit details -
pythongh-118209: Add Windows structured exception handling to mmap mo…
…dule (pythonGH-118213) (cherry picked from commit e85e8de) Co-authored-by: Dobatymo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7dc9875 - Browse repository at this point
Copy the full SHA 7dc9875View commit details -
[3.13] Rename
notimplemented_methods
intonodefault_methods
(pyth……onGH-118896) (python#118898) Rename `notimplemented_methods` into `nodefault_methods` (pythonGH-118896) (cherry picked from commit 004db21) Co-authored-by: Nikita Sobolev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93fce2d - Browse repository at this point
Copy the full SHA 93fce2dView commit details -
[3.13] pythongh-118789: Restore hidden
_PyWeakref_ClearRef
(pythonG……H-118797) (pythonGH-118903) pythongh-118789: Restore hidden `_PyWeakref_ClearRef` (pythonGH-118797) _PyWeakref_ClearRef was previously exposed in the public C-API, although it begins with an underscore and is not documented. It's used by a few C-API extensions. There is currently no alternative public API that can replace its use. _PyWeakref_ClearWeakRefsExceptCallbacks is the only thread-safe way to use _PyWeakref_ClearRef in the free-threaded build. This exposes the C symbol, but does not make the API public. (cherry picked from commit db5af7d) Co-authored-by: Sam Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb5bf24 - Browse repository at this point
Copy the full SHA bb5bf24View commit details -
[3.13] pythongh-117657: Fix data races reported by TSAN on `interp->t…
…hreads.main` (pythonGH-118865) (python#118904) Use relaxed loads/stores when reading/writing to this field. (cherry picked from commit 22d5185) Co-authored-by: mpage <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4480dd8 - Browse repository at this point
Copy the full SHA 4480dd8View commit details -
[3.13] Correct the argument names for
secrets.choice
and `secrets.r……andbelow` in `secrets.rst` (pythonGH-118098) (pythonGH-118906) Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst` (pythonGH-118098) Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`. (cherry picked from commit c444362) Co-authored-by: Adam Dangoor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0874a40 - Browse repository at this point
Copy the full SHA 0874a40View commit details -
[3.13] pythongh-117657: Fix QSBR race condition (pythonGH-118843) (py…
…thon#118905) `_Py_qsbr_unregister` is called when the PyThreadState is already detached, so the access to `tstate->qsbr` isn't safe without locking the shared mutex. Grab the `struct _qsbr_shared` from the interpreter instead. (cherry picked from commit 33d2019) Co-authored-by: Alex Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0becae3 - Browse repository at this point
Copy the full SHA 0becae3View commit details -
[3.13] pythongh-118895: Call PyType_Ready() on typing.NoDefault (pyth…
…onGH-118897) (python#118914) (cherry picked from commit 13d7cf9) Co-authored-by: Jelle Zijlstra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6df4913 - Browse repository at this point
Copy the full SHA 6df4913View commit details -
[3.13] Rename typing._collect_parameters (pythonGH-118900) (python#11…
…8917) Co-authored-by: Jelle Zijlstra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3074f0 - Browse repository at this point
Copy the full SHA b3074f0View commit details -
[3.13] pythongh-118846: Fix free-threading test failures when run seq…
…uentially (pythonGH-118864) (python#118927) The free-threaded build currently immortalizes some objects once the first thread is started. This can lead to test failures depending on the order in which tests are run. This PR addresses those failures by suppressing immortalization or skipping the affected tests. (cherry picked from commit b309c8e) Co-authored-by: Sam Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cceb758 - Browse repository at this point
Copy the full SHA cceb758View commit details -
[3.13] pythongh-117657: Log TSAN warnings to separate files and archi…
…ve them (pythonGH-118747) (python#118931) This ensures we don't lose races that occur in subprocesses or interleave races from workers running in parallel. Log files are collected and packaged into a zipfile that can be downloaded from the "Artifacts" section of the workflow run. (cherry picked from commit b88889e) Co-authored-by: mpage <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7dc9e92 - Browse repository at this point
Copy the full SHA 7dc9e92View commit details -
[3.13] pythongh-118921: Add
copy()
method forFrameLocalsProxy
(p……ythonGH-118923) (python#118933) (cherry picked from commit 35c4361) Co-authored-by: Tian Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93ef7aa - Browse repository at this point
Copy the full SHA 93ef7aaView commit details
Commits on May 11, 2024
-
[3.13] pythongh-117655: Prevent
test_strptime
from raising a Deprec……ationWarning (pythonGH-117668) (pythonGH-118956) pythongh-117655: Prevent `test_strptime` from raising a DeprecationWarning (pythonGH-117668) * Fix `test_strptime` raises a DeprecationWarning * Ignore deprecation warnings where appropriate. * Update Lib/test/datetimetester.py This is follow on work to silence unnecessary warnings from the test suite that changes for python#70647 added. (cherry picked from commit abead54) Co-authored-by: Nice Zombies <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d309474 - Browse repository at this point
Copy the full SHA d309474View commit details
Commits on May 12, 2024
-
[3.13] pythongh-118899: Add tests for
NotImplemented
attribute acce……ss (pythonGH-118902) (python#118968) pythongh-118899: Add tests for `NotImplemented` attribute access (pythonGH-118902) (cherry picked from commit ec1398e) Co-authored-by: Nikita Sobolev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e855b3 - Browse repository at this point
Copy the full SHA 6e855b3View commit details
Commits on May 13, 2024
-
[3.13] pythonGH-118844: Fix build failures when combining --disable-g…
…il with --enable-experimental-jit (pythonGH-118959) (cherry picked from commit 5b941e5) Co-authored-by: Savannah Ostrowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d2c10b - Browse repository at this point
Copy the full SHA 9d2c10bView commit details -
[3.13] pythongh-87106: Fix inspect.signature.bind() handling of posit…
…ional-only arguments with **kwargs (pythonGH-103404) (python#118985) (cherry picked from commit 9c15202) Co-authored-by: Jacob Walls <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8ea966 - Browse repository at this point
Copy the full SHA a8ea966View commit details -
[3.13] Improve the
rmtree
doc fordir_fd
param addition in 3.11 (p……ythonGH-118964) (python#118991) Co-authored-by: Nikita Sobolev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9418832 - Browse repository at this point
Copy the full SHA 9418832View commit details -
pythongh-118876: Ensure PC/layout sets ns.temp before using it (pytho…
…nGH-118880) Fixes an AttributeError that occurs when checking if ns.temp is an absolute path during building from source on Windows. (cherry picked from commit d8a82cc) Co-authored-by: I-Shen Leong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44995aa - Browse repository at this point
Copy the full SHA 44995aaView commit details -
[3.13] pythongh-58933: Make pdb return to caller frame correctly when…
… f_trace is not set (pythonGH-118979) (python#119007) pythongh-58933: Make pdb return to caller frame correctly when f_trace is not set (pythonGH-118979) (cherry picked from commit f526314) Co-authored-by: Tian Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09d4c07 - Browse repository at this point
Copy the full SHA 09d4c07View commit details -
[3.13] pythongh-119010: Adds docs about
__type_params__
to `functoo……ls.update_wrapper` (pythonGH-119012) (python#119013) pythongh-119010: Adds docs about `__type_params__` to `functools.update_wrapper` (pythonGH-119012) (cherry picked from commit b04c497) Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1aac22 - Browse repository at this point
Copy the full SHA d1aac22View commit details -
[3.13] pythongh-118998: Handle errors correctly in
tmtotuple
in `ti……memodule` (pythonGH-118999) (python#119018) pythongh-118998: Handle errors correctly in `tmtotuple` in `timemodule` (pythonGH-118999) (cherry picked from commit fc75792) Co-authored-by: Nikita Sobolev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7628b0 - Browse repository at this point
Copy the full SHA c7628b0View commit details -
[3.13] pythonGH-118836: Fix JIT build error when SHT_NOTE section is …
…present (pythonGH-119020) (cherry picked from commit e04cd96) Co-authored-by: Michał Górny <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29a2f9c - Browse repository at this point
Copy the full SHA 29a2f9cView commit details
Commits on May 14, 2024
-
[3.13] pythongh-67693: Fix urlunparse() and urlunsplit() for URIs wit…
…h path starting with multiple slashes and no authority (pythonGH-113563) (pythonGH-119023) (cherry picked from commit e237b25) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8720006 - Browse repository at this point
Copy the full SHA 8720006View commit details -
[3.13] Add yet few cases for urlparse/urlunparse roundtrip tests (pyt…
…honGH-119031) (pythonGH-119037) (cherry picked from commit 331d385) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54839f0 - Browse repository at this point
Copy the full SHA 54839f0View commit details -
[3.13] typing tests: remove some unnecessary uses of
exec()
(python……GH-119005) (python#119038) (cherry picked from commit a9328e2) Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 041cc2a - Browse repository at this point
Copy the full SHA 041cc2aView commit details -
[3.13] Itertools docs: fix parameter names and indentation in Python …
…equivalents (pythongh-118977) (python#119043)
Configuration menu - View commit details
-
Copy full SHA for 87f683e - Browse repository at this point
Copy the full SHA 87f683eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8439d09 - Browse repository at this point
Copy the full SHA 8439d09View commit details
Commits on May 15, 2024
-
[3.13] 3.13 What's New: Add PEP 702 (pythonGH-118922) (python#119062)
I honestly forgot this slipped into 3.13, but I think it's worth highlighting more, as it is a PEP-sized change that makes the type system significantly more powerful. @Yhg1s I think it's also worth mentioning in your release announcements. (cherry picked from commit ee13797) Co-authored-by: Jelle Zijlstra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd8a61f - Browse repository at this point
Copy the full SHA dd8a61fView commit details -
pythongh-118486: Simplify test_win32_mkdir_700 to check the exact ACL (…
…pythonGH-119056) (cherry picked from commit 94591dc) Co-authored-by: Steve Dower <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1dfa97 - Browse repository at this point
Copy the full SHA e1dfa97View commit details -
[3.13] Remove references to private symbols from zipimport module doc…
…string (pythonGH-119071) (cherry picked from commit 7d722b7) Co-authored-by: Thomas Grainger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f85d59c - Browse repository at this point
Copy the full SHA f85d59cView commit details -
[3.13] pythongh-118760: Fix errors in calling Tkinter bindings on Win…
…dows (pythonGH-118782) (pythonGH-119072) For unknown reasons some arguments for Tkinter binding can be created as a 1-tuple containing a Tcl_Obj when wantobjects is 2. (cherry picked from commit 5b88d95) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f81915 - Browse repository at this point
Copy the full SHA 4f81915View commit details -
[3.13] pythongh-119009: Add gettext target (pythonGH-119006) (python#…
…119074) Co-authored-by: Rafael Fontenelle <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c224dd - Browse repository at this point
Copy the full SHA 7c224ddView commit details
Commits on May 16, 2024
-
[3.13] Use literal syntax in origin property (pythonGH-119029) (pytho…
…n#119083) Use literal syntax in origin property (pythonGH-119029) (cherry picked from commit 66b73e9) Co-authored-by: Rafael Fontenelle <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bca7fb0 - Browse repository at this point
Copy the full SHA bca7fb0View commit details -
[3.13] pythongh-119064: Use os_helper.FakePath instead of pathlib.Pat…
…h in tests (pythonGH-119065) (pythonGH-119087) (cherry picked from commit 0152dc4) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1dc7fcd - Browse repository at this point
Copy the full SHA 1dc7fcdView commit details -
[3.13] Add Tkinter tests for different events (pythonGH-118778) (pyth…
…onGH-119091) (cherry picked from commit b683994) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a4730e - Browse repository at this point
Copy the full SHA 8a4730eView commit details -
[3.13] pythongh-108267: Fix object.__setattr__ regression in dataclas…
…ses docs (pythonGH-119082) (python#119097) Co-authored-by: Shantanu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c69fe80 - Browse repository at this point
Copy the full SHA c69fe80View commit details -
[3.13] Explain how to install LLVM on Fedora (pythonGH-119100)
(cherry picked from commit ab73bcd) Co-authored-by: Miro Hrončok <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 45fbca9 - Browse repository at this point
Copy the full SHA 45fbca9View commit details -
[3.13] pythonGH-118943: Fix a race condition when generating jit_sten…
…cils.h (pythonGH-119101) (cherry picked from commit 4702b7b)
Configuration menu - View commit details
-
Copy full SHA for acffe20 - Browse repository at this point
Copy the full SHA acffe20View commit details
Commits on May 17, 2024
-
[3.13] Fix typos in documentation (pythonGH-119092) (python#119116)
Fix typos in documentation (pythonGH-119092) (cherry picked from commit 65de194) Co-authored-by: Xie Yanbo <[email protected]> Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ada4ad0 - Browse repository at this point
Copy the full SHA ada4ad0View commit details -
[3.13] pythongh-119049: Fix incorrect display of warning which is con…
…structed by C API (pythonGH-119063) (pythonGH-119106) The source line was not displayed if the warnings module had not yet been imported. (cherry picked from commit 100c7ab) Co-authored-by: Kirill Podoprigora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ced71d3 - Browse repository at this point
Copy the full SHA ced71d3View commit details
Commits on May 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 374655f - Browse repository at this point
Copy the full SHA 374655fView commit details -
[3.13] pythongh-119078: Clarify venv tutorial (pythonGH-119129) (pyth…
…onGH-119142) (cherry picked from commit 0f5e8be)
Configuration menu - View commit details
-
Copy full SHA for 1bb3a9d - Browse repository at this point
Copy the full SHA 1bb3a9dView commit details -
[3.13] pythongh-119132: Log sys._is_gil_enabled() in test.pythoninfo (p…
…ythonGH-119140) (python#119143) pythongh-119132: Log sys._is_gil_enabled() in test.pythoninfo (pythonGH-119140) (cherry picked from commit 74072a3) Co-authored-by: Victor Stinner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c2de86 - Browse repository at this point
Copy the full SHA 9c2de86View commit details -
[3.13] docs: make mimalloc license text literal (pythonGH-119046) (py…
…thon#119149) docs: make mimalloc license text literal (pythonGH-119046) (cherry picked from commit 6914297) Co-authored-by: Rafael Fontenelle <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 641e59d - Browse repository at this point
Copy the full SHA 641e59dView commit details -
[3.13] pythongh-119132: Update sys.version to identify free-threaded …
…or not. (pythongh-119134) (python#119153) pythongh-119132: Update sys.version to identify free-threaded or not. (pythongh-119134) (cherry picked from commit c141d43) Co-authored-by: Donghee Na <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec88e9f - Browse repository at this point
Copy the full SHA ec88e9fView commit details -
[3.13] pythongh-119050: Add type hints to libregrtest/results.py (pyt…
…honGH-119144) (python#119156) pythongh-119050: Add type hints to libregrtest/results.py (pythonGH-119144) Sort also 'omitted' in TestResults.display_result(). (cherry picked from commit 30b4e9f) Co-authored-by: Victor Stinner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9129614 - Browse repository at this point
Copy the full SHA 9129614View commit details -
[3.13] pythonGH-118447: Fix handling of unreadable symlinks in `os.pa…
…th.realpath()` (pythonGH-118489) (python#119163) (cherry picked from commit caf6064) Co-authored-by: Barney Gale <[email protected]> Co-authored-by: Nice Zombies <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7407267 - Browse repository at this point
Copy the full SHA 7407267View commit details
Commits on May 19, 2024
-
[3.13] marshal docs: Remove reference to "Sun" (pythonGH-119161) (pyt…
…hon#119167) Nobody has been using a Sun machine for a long time. When I saw this sentence in a lightning talk just now, I thought it was talking about sending Python code on a spacecraft. (cherry picked from commit 697465f) Co-authored-by: Jelle Zijlstra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc5e47c - Browse repository at this point
Copy the full SHA bc5e47cView commit details -
[3.13] pythonGH-118447: Fix FreeBSD test failures. (pythonGH-119170) (p…
…ython#119181) pythonGH-118447: Fix FreeBSD test failures. (pythonGH-119170) Apparently only macOS requires read permission to call `readlink()` on a symlink. (cherry picked from commit 4b76671) Co-authored-by: Barney Gale <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fdc50ba - Browse repository at this point
Copy the full SHA fdc50baView commit details -
[3.13] pythonGH-119113: Raise
TypeError
from `pathlib.PurePath.with……_suffix(None)` (pythonGH-119124) (python#119183) Restore behaviour from 3.12 when `path.with_suffix(None)` is called. (cherry picked from commit 3c28510) Co-authored-by: Barney Gale <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27b61c1 - Browse repository at this point
Copy the full SHA 27b61c1View commit details
Commits on May 20, 2024
-
[3.13] IDLE: fix url in config.py comment (pythonGH-119198) (python#1…
…19199) IDLE: fix url in config.py comment (pythonGH-119198) (cherry picked from commit 357f5a1) Co-authored-by: Terry Jan Reedy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b90807 - Browse repository at this point
Copy the full SHA 3b90807View commit details -
[3.13] pythongh-119121: Fix and test
async.staggered.staggered_race
(……pythonGH-119173) (python#119206) pythongh-119121: Fix and test `async.staggered.staggered_race` (pythonGH-119173) (cherry picked from commit 16b46eb) Co-authored-by: Nikita Sobolev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a8ab99 - Browse repository at this point
Copy the full SHA 3a8ab99View commit details -
[3.13] typing docs: Fix formatting issue (pythonGH-119210) (python#11…
…9212) typing docs: Fix formatting issue (pythonGH-119210) (cherry picked from commit 72d07dd) Co-authored-by: David Foster <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbf064b - Browse repository at this point
Copy the full SHA cbf064bView commit details -
[3.13] pythongh-119185: Fix typo in
_pyrepl.pager
:tempfilepager
……should be `tempfile_pager` (pythonGH-118881) (python#119211) Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pager` The name with no underscore doesn't exist. (cherry picked from commit 05e1dce) Co-authored-by: Thanos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a52ed7e - Browse repository at this point
Copy the full SHA a52ed7eView commit details -
[3.13] [docs] TypeVarTuple default is keyword-only (pythonGH-119215) (p…
…ython#119224) (cherry picked from commit e406b39) Co-authored-by: Sebastian Rittau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f3fc01 - Browse repository at this point
Copy the full SHA 8f3fc01View commit details -
[3.13] pythongh-115119: Fall back to bundled libmpdec if system libmp…
…dec is not found (pythonGH-119196) (python#119217) (cherry picked from commit 642b25b) Co-authored-by: Erlend E. Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e370b64 - Browse repository at this point
Copy the full SHA e370b64View commit details -
[3.13] pythonGH-119146: Don't run JIT CI on unrelated changes (python…
…GH-119226) (cherry picked from commit 5307f44) Co-authored-by: Savannah Ostrowski <[email protected]> Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6b873f - Browse repository at this point
Copy the full SHA a6b873fView commit details -
[3.13] DOCS: Suggest always calling exec with a globals argument and …
…no locals argument (pythonGH-119235) (python#119239) DOCS: Suggest always calling exec with a globals argument and no locals argument (pythonGH-119235) Many users think they want a locals argument for various reasons but they do not understand that it makes code be treated as a class definition. They do not want their code treated as a class definition and get surprised. The reason not to pass locals specifically is that the following code raises a `NameError`: ```py exec(""" def f(): print("hi") f() def g(): f() g() """, {}, {}) ``` The reason not to leave out globals is as follows: ```py def t(): exec(""" def f(): print("hi") f() def g(): f() g() """) ``` (cherry picked from commit 7e1a130) Co-authored-by: Hood Chatham <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fda3291 - Browse repository at this point
Copy the full SHA fda3291View commit details -
[3.13] pythongh-112844: Update CPE references for external dependenci…
…es (pythonGH-118521) (python#119237) Co-authored-by: Seth Michael Larson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8c562a - Browse repository at this point
Copy the full SHA d8c562aView commit details -
[3.13] pythongh-92081: Fix for email.generator.Generator with whitesp…
…ace between encoded words. (pythonGH-92281) (python#119245) * Fix for email.generator.Generator with whitespace between encoded words. email.generator.Generator currently does not handle whitespace between encoded words correctly when the encoded words span multiple lines. The current generator will create an encoded word for each line. If the end of the line happens to correspond with the end real word in the plaintext, the generator will place an unencoded space at the start of the subsequent lines to represent the whitespace between the plaintext words. A compliant decoder will strip all the whitespace from between two encoded words which leads to missing spaces in the round-tripped output. The fix for this is to make sure that whitespace between two encoded words ends up inside of one or the other of the encoded words. This fix places the space inside of the second encoded word. A second problem happens with continuation lines. A continuation line that starts with whitespace and is followed by a non-encoded word is fine because the newline between such continuation lines is defined as condensing to a single space character. When the continuation line starts with whitespace followed by an encoded word, however, the RFCs specify that the word is run together with the encoded word on the previous line. This is because normal words are filded on syntactic breaks by encoded words are not. The solution to this is to add the whitespace to the start of the encoded word on the continuation line. Test cases are from pythonGH-92081 * Rename a variable so it's not confused with the final variable. (cherry picked from commit a6fdb31) Co-authored-by: Toshio Kuratomi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 054f1af - Browse repository at this point
Copy the full SHA 054f1afView commit details -
[3.13] Use correct markup in unittest.mock.reset_mock documentation (p…
…ythonGH-119207) (pythonGH-119250) Use correct markup in unittest.mock.reset_mock documentation (pythonGH-119207) (cherry picked from commit 6b80a5b) Co-authored-by: Tialo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 906f6cb - Browse repository at this point
Copy the full SHA 906f6cbView commit details -
[3.13] pythongh-118760: Restore the default value of tkinter.wantobje…
…cts to 1 (pythonGH-118784) (pythonGH-119251) It was set to 2 in 65f5e58 (pythonGH-98592). (cherry picked from commit e188527) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b4462aa - Browse repository at this point
Copy the full SHA b4462aaView commit details -
[3.13] pythongh-119189: Add more tests for mixed Fraction arithmetic (p…
…ythonGH-119236) (pythonGH-119255) (cherry picked from commit fe67af1) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 572b0b0 - Browse repository at this point
Copy the full SHA 572b0b0View commit details -
[3.13] pythongh-119253: use ImportError in _ios_support (pythonGH-119254
) (python#119265) Co-authored-by: Shantanu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 071d996 - Browse repository at this point
Copy the full SHA 071d996View commit details -
[3.13] pythongh-119050: Add XML support to libregrtest refleak checker (
pythonGH-119148) (python#119270) pythongh-119050: Add XML support to libregrtest refleak checker (pythonGH-119148) regrtest test runner: Add XML support to the refleak checker (-R option). * run_unittest() now stores XML elements as string, rather than objects, in support.junit_xml_list. * runtest_refleak() now saves/restores XML strings before/after checking for reference leaks. Save XML into a temporary file. (cherry picked from commit 9257731) Co-authored-by: Victor Stinner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42a8d11 - Browse repository at this point
Copy the full SHA 42a8d11View commit details -
[3.13] pythongh-108267 Fix another dataclasses docs typo (pythonGH-11…
…9277) (python#119279) pythongh-108267 Fix another dataclasses docs typo (pythonGH-119277) (cherry picked from commit 423bbcb) Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8fbe5b - Browse repository at this point
Copy the full SHA d8fbe5bView commit details -
[3.13] pythongh-118912: Remove description of issue fixed in 3.5 from…
… autospeccing guide (pythonGH-119232) (python#119284) pythongh-118912: Remove description of issue fixed in 3.5 from autospeccing guide (pythonGH-119232) * Remove description of issue fixed in 3.5 from autospeccing guide * Make autospeccing note text more succint and lint whitespace * Add linting changes (missed in last commit) --------- (cherry picked from commit 7e57640) Co-authored-by: Shauna <[email protected]> Co-authored-by: Carol Willing <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24b0e8d - Browse repository at this point
Copy the full SHA 24b0e8dView commit details
Commits on May 21, 2024
-
[3.13] pythongh-119174: Fix high DPI causes turtledemo(turtle-graphic…
…s examples) windows blurry (pythonGH-119175) (python#119289) pythongh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry (pythonGH-119175) ------ (cherry picked from commit 538ed5e) Co-authored-by: Wulian233 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7303cd - Browse repository at this point
Copy the full SHA f7303cdView commit details -
[3.13] pythongh-74929: PEP 667 general docs update (pythongh-119291)
* expand on What's New entry for PEP 667 (including porting notes) * define 'optimized scope' as a glossary term * cover comprehensions and generator expressions in locals() docs * review all mentions of "locals" in documentation (updating if needed) * review all mentions of "f_locals" in documentation (updating if needed) (cherry picked from commit e870c85) Co-authored-by: Alyssa Coghlan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db64dae - Browse repository at this point
Copy the full SHA db64daeView commit details -
[3.13] Use
fail-fast: false
inmypy.yml
(pythonGH-119297) (python……#119304) Use `fail-fast: false` in `mypy.yml` (pythonGH-119297) See docs about this setting: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actionsGH-jobsjob_idstrategyfail-fast (cherry picked from commit b365332) Co-authored-by: Nikita Sobolev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49ad4d0 - Browse repository at this point
Copy the full SHA 49ad4d0View commit details -
[3.13] pythongh-119102: Fix REPL for dumb terminal (pythonGH-119269) (p…
…ython#119308) pythongh-119102: Fix REPL for dumb terminal (pythonGH-119269) Use CAN_USE_PYREPL of _pyrepl.__main__ in the site module to decide if _pyrepl.write_history_file() can be used. (cherry picked from commit 73f4a58) Co-authored-by: Victor Stinner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f028451 - Browse repository at this point
Copy the full SHA f028451View commit details -
[3.13] Docs: Ensure no warnings are found in the NEWS file before a g…
…iven line number (pythonGH-119221) (python#119261)
Configuration menu - View commit details
-
Copy full SHA for 1929b7e - Browse repository at this point
Copy the full SHA 1929b7eView commit details -
[3.13] pythongh-119053: Implement the fast path for list.__getitem__ (p…
…ythongh-119112) (pythongh-119309) pythongh-119053: Implement the fast path for list.__getitem__ (pythongh-119112) (cherry picked from commit ab4263a) Co-authored-by: Donghee Na <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dcb8030 - Browse repository at this point
Copy the full SHA dcb8030View commit details -
[3.13] pythonGH-119292: Add job to JIT CI to build and test with --di…
…sable-gil (pythonGH-119314) (cherry picked from commit c4722cd) Co-authored-by: Savannah Ostrowski <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d93c4f9 - Browse repository at this point
Copy the full SHA d93c4f9View commit details -
[3.13] pythonGH-110383: Improve Tutorial for Input Ouput (pythonGH-11…
…9230) (pythonGH-119326) pythonGH-110383: Improve Tutorial for Input Ouput (pythonGH-119230) (cherry picked from commit 9db2fd7) Co-authored-by: Blaise Pabon <[email protected]> Co-authored-by: edson duarte <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11ca1d9 - Browse repository at this point
Copy the full SHA 11ca1d9View commit details -
[3.13] pythongh-110383: Document
socket.makefile()
accepts combined…… modes (pythonGH-119150) (python#119324) The supported mode values are 'r', 'w', and 'b', or a combination of those. (cherry picked from commit 62a29be) Co-authored-by: Daniel Williams <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 256b791 - Browse repository at this point
Copy the full SHA 256b791View commit details -
[3.13] pythongh-119035: Add Ctrl+← and Ctrl+→ word-skipping keybindin…
…gs to new repl (pythonGH-119248) (python#119323) add word-skipping ctrl keybindings to new repl (cherry picked from commit 0398d93) Co-authored-by: Alastair Stanley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8860f83 - Browse repository at this point
Copy the full SHA 8860f83View commit details -
[3.13] Fix typos in documentation (pythonGH-119295) (python#119337)
Co-authored-by: Xie Yanbo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fef202f - Browse repository at this point
Copy the full SHA fef202fView commit details -
[3.13] Docs: Add central references to free-threading-related options (…
…pythonGH-119017) (python#119367) Docs: Add central references to free-threading-related options (pythonGH-119017) (cherry picked from commit 9fa206a) Co-authored-by: Brett Simmers <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0582016 - Browse repository at this point
Copy the full SHA 0582016View commit details
Commits on May 22, 2024
-
[3.13] pythongh-119102: Fix REPL for dumb terminal (pythonGH-119332) (p…
…ython#119359) The site module gets the __main__ module to get _pyrepl.__main__. (cherry picked from commit de8f530) Co-authored-by: Victor Stinner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f371565 - Browse repository at this point
Copy the full SHA f371565View commit details -
pythongh-118507 : Refactor
nt._path_is*
to improve applicability fo……r other cases (pythonGH-118755) (cherry picked from commit b641825) Co-authored-by: Nice Zombies <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f15fbe9 - Browse repository at this point
Copy the full SHA f15fbe9View commit details -
[3.13] pythongh-118877: Fix AssertionError crash in pyrepl (pythonGH-…
…118936) (python#119363) (cherry picked from commit c0d81b2) Co-authored-by: Daniel Hollas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e992217 - Browse repository at this point
Copy the full SHA e992217View commit details -
[3.13] pythongh-110383: Align dict.get(), .fromkeys(), and .setdefaul…
…t() docs with docstrings (pythonGH-119330) (python#119370) (cherry picked from commit 0e3c8cd) Co-authored-by: Landon Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 455b386 - Browse repository at this point
Copy the full SHA 455b386View commit details -
[3.13] DOCS: fix error in exec namespace note (pythongh-119380)
When updating the new exec note added in pythongh-119235 as part of the PEP 667 general docs PR, I suggested a workaround that isn't valid. The first half of the note is still reasonable, so just omit the invalid text. (cherry picked from commit 31d61a7) Co-authored-by: Alyssa Coghlan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5b0e32 - Browse repository at this point
Copy the full SHA b5b0e32View commit details -
[3.13] Clarify that dklen is expected in bytes for the hashlib functi…
…ons (pythonGH-106624) (pythonGH-119383) (cherry picked from commit 5adf78f) Co-authored-by: Mathijs Mortimer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f757996 - Browse repository at this point
Copy the full SHA f757996View commit details -
[3.13] pythongh-119189: Add yet more tests for mixed Fraction arithme…
…tic (pythonGH-119298) (pythonGH-119346) (cherry picked from commit 10b1bd9) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec484b6 - Browse repository at this point
Copy the full SHA ec484b6View commit details -
[3.13] Fix typos in NEWS entries for 3.13 (pythonGH-119374) (pythonGH…
…-119385) (cherry picked from commit 904e256) Co-authored-by: Xie Yanbo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e61989 - Browse repository at this point
Copy the full SHA 0e61989View commit details -
[3.13] Fix version number in use_load_tests deprecation reference (py…
…thonGH-119151) (pythonGH-119386) Deprecation took place in d78742a (3.5) (cherry picked from commit aee8f03) Co-authored-by: Jacob Walls <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 414346e - Browse repository at this point
Copy the full SHA 414346eView commit details -
[3.13] pythongh-118643: Fix AttributeError in the email module (pytho…
…nGH-119099) (pythonGH-119389) Fix regression introduced in pythongh-100884: AttributeError when re-fold a long address list. Also fix more cases of incorrect encoding of the address separator in the address list missed in pythongh-100884. (cherry picked from commit 858b9e8) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6892b40 - Browse repository at this point
Copy the full SHA 6892b40View commit details -
[3.13] pythongh-119306: Break up _pyrepl tests (pythonGH-119307) (pyt…
…hon#119362) (cherry picked from commit f49df4f) Co-authored-by: Eugene Triguba <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7214598 - Browse repository at this point
Copy the full SHA 7214598View commit details -
[3.13] pythongh-111201: Remove readline dependency from the PyREPL (p…
…ythonGH-119262) (python#119403) (cherry picked from commit 561ff1f)
Configuration menu - View commit details
-
Copy full SHA for ac91636 - Browse repository at this point
Copy the full SHA ac91636View commit details -
[3.13] pythongh-111201: Add append to screen method to avoid recalcul…
…ation (pythonGH-119274) (python#119405) (cherry picked from commit c886bec) Co-authored-by: Lysandros Nikolaou <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aefe2e6 - Browse repository at this point
Copy the full SHA aefe2e6View commit details -
[3.13] pythongh-119205: Fix autocompletion bug in new repl (pythonGH-…
…119229) (python#119407) (cherry picked from commit 506b1a3) Co-authored-by: Koudai Aono <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eafd633 - Browse repository at this point
Copy the full SHA eafd633View commit details -
[3.13] pythongh-118893: Evaluate all statements in the new REPL separ…
…ately (pythonGH-119318) (python#119408) (cherry picked from commit a3e4fec) Co-authored-by: Pablo Galindo Salgado <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a463cd8 - Browse repository at this point
Copy the full SHA a463cd8View commit details -
[3.13] pythongh-119213: Be More Careful About _PyArg_Parser.kwtuple A…
…cross Interpreters (pythongh-119331) (pythongh-119410) _PyArg_Parser holds static global data generated for modules by Argument Clinic. The _PyArg_Parser.kwtuple field is a tuple object, even though it's stored within a static global. In some cases the tuple is statically allocated and thus it's okay that it gets shared by multiple interpreters. However, in other cases the tuple is set lazily, allocated from the heap using the active interprepreter at the point the tuple is needed. This is a problem once that interpreter is destroyed since _PyArg_Parser.kwtuple becomes at dangling pointer, leading to crashes. It isn't a problem if the tuple is allocated under the main interpreter, since its lifetime is bound to the lifetime of the runtime. The solution here is to temporarily switch to the main interpreter. The alternative would be to always statically allocate the tuple. This change also fixes a bug where only the most recent parser was added to the global linked list. (cherry picked from commit 8186500) Co-authored-by: Eric Snow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfd9c3e - Browse repository at this point
Copy the full SHA bfd9c3eView commit details -
[3.13] Improve
pyrepl
type-annotation coverage (pythonGH-119081) (p……ython#119415) (cherry picked from commit 033f5c8) Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd39da7 - Browse repository at this point
Copy the full SHA cd39da7View commit details -
[3.13] pythongh-119247: Add macros to use PySequence_Fast safely in f…
…ree-threaded build (pythonGH-119315) (python#119419) Add `Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST` and `Py_END_CRITICAL_SECTION_SEQUENCE_FAST` macros and update `str.join` to use them. Also add a regression test that would crash reliably without this patch. (cherry picked from commit baf347d) Co-authored-by: Josh {*()} Rosenberg <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0841606 - Browse repository at this point
Copy the full SHA 0841606View commit details -
[3.13] pythongh-112066: Fix versionadded in PyDict_SetDefaultRef docs (…
…pythonGH-118696) (python#119430) (cherry picked from commit 447edb6) Co-authored-by: Lysandros Nikolaou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0bd7c87 - Browse repository at this point
Copy the full SHA 0bd7c87View commit details -
pythongh-117505: Run ensurepip in isolated env in Windows installer (p…
…ythonGH-118257) ensurepip forks a subprocess to run pip itself, but that subprocess only inherits a -I isolated mode flag (see _run_pip() in Lib/ensurepip/__init__.py), not the "-E -s" flags that the installer has been using. This means that parts of ensurepip don't actually run in an isolated environment and can make incorrect decisions based on packages installed in the user site-packages. (cherry picked from commit c9073eb) Co-authored-by: Michael Vincent <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e30a38 - Browse repository at this point
Copy the full SHA 3e30a38View commit details -
[3.13] pythongh-119357: Increase test coverage for keymap in _pyrepl (p…
…ythonGH-119358) (python#119414) (cherry picked from commit 73ab83b) Co-authored-by: Eugene Triguba <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6e4efc - Browse repository at this point
Copy the full SHA e6e4efcView commit details -
[3.13] pythongh-113978: Ignore warnings on text completion inside REPL (
pythonGH-113979) (python#119429) (cherry picked from commit e03dde5) Co-authored-by: Yan Yanchii <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6bc7fc0 - Browse repository at this point
Copy the full SHA 6bc7fc0View commit details -
[3.13] Enable some stricter mypy settings on
Lib/_pyrepl
(pythonGH-……119077) (python#119428) (cherry picked from commit 0883fd2) Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81440c5 - Browse repository at this point
Copy the full SHA 81440c5View commit details -
[3.13] pythongh-111201: auto-indentation in _pyrepl (pythonGH-119348) (…
…python#119427) (cherry picked from commit cd516cd) Co-authored-by: Arnon Yaari <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9435124 - Browse repository at this point
Copy the full SHA 9435124View commit details -
[3.13] pythongh-70795: Rework RLock documentation (pythonGH-103853) (p…
…ython#119436) pythongh-70795: Rework RLock documentation (pythonGH-103853) Attempted to simultaneously reduce verbosity, while more descriptively describing behavior. Fix links (RLock acquire/release previously linking to Lock acquire/release, seems like bad copy pasta). Add a seealso for with-locks. Switch section to use bullet points. --------- (cherry picked from commit 2fbea81) Co-authored-by: uıɐɾ ʞ ʇɐɯɐs <[email protected]> Co-authored-by: Alex Waygood <[email protected]> Co-authored-by: C.A.M. Gerlach <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6ed742 - Browse repository at this point
Copy the full SHA a6ed742View commit details -
[3.13] pythongh-117657: Fix missing atomic in dict_resize (pythonGH-1…
…19312) (python#119417) pythongh-117657: Fix missing atomic in dict_resize (pythonGH-119312) Fix missing atomic in dict_resize (cherry picked from commit 2b3fb76) Co-authored-by: Dino Viehland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd35e9d - Browse repository at this point
Copy the full SHA cd35e9dView commit details
Commits on May 23, 2024
-
[3.13] pythongh-119434: Fix culmitive errors in wrapping as lines pro…
…ceed (pythonGH-119435) (python#119441) Fix culmitive errors in wrapping as lines proceed (cherry picked from commit e3bf538) Co-authored-by: Dino Viehland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dbff1f1 - Browse repository at this point
Copy the full SHA dbff1f1View commit details -
[3.13] pythongh-118911: Trailing whitespace in a block shouldn't prev…
…ent the user from terminating the code block (pythonGH-119355) (python#119404) (cherry picked from commit 5091c44) Co-authored-by: Aya Elsayed <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9fa1b4f - Browse repository at this point
Copy the full SHA 9fa1b4fView commit details -
[3.13] pythongh-111201: Speed up paste mode in the REPL (python#119341)…
… (pythonGH-119432) (python#119439) (cherry picked from commit e6572e8) Also includes: * pythongh-111201: Use calc_complete_screen after bracketed paste in PyREPL (pythonGH-119432) (cherry picked from commit 14b063c) Co-authored-by: Pablo Galindo Salgado <[email protected]> Co-authored-by: Łukasz Langa <[email protected]> Co-authored-by: Lysandros Nikolaou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58dbb4a - Browse repository at this point
Copy the full SHA 58dbb4aView commit details -
[3.13] pythongh-90562: Mention slots pitfall in dataclass docs (pytho…
…nGH-107391) (python#119350) Co-authored-by: Josh Cannon <[email protected]> Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89e2689 - Browse repository at this point
Copy the full SHA 89e2689View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbe4f8a - Browse repository at this point
Copy the full SHA dbe4f8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 251ef2e - Browse repository at this point
Copy the full SHA 251ef2eView commit details -
[3.13] pythongh-119469: Fix _pyrepl reference leaks (pythonGH-119470) (…
…python#119471) (cherry picked from commit 6e012ce) Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8fd8cc5 - Browse repository at this point
Copy the full SHA 8fd8cc5View commit details -
[3.13] pythongh-118727: Don't drop the GIL in
drop_gil()
unless the…… current thread holds it (pythonGH-118745) (python#119474) `drop_gil()` assumes that its caller is attached, which means that the current thread holds the GIL if and only if the GIL is enabled, and the enabled-state of the GIL won't change. This isn't true, though, because `detach_thread()` calls `_PyEval_ReleaseLock()` after detaching and `_PyThreadState_DeleteCurrent()` calls it after removing the current thread from consideration for stop-the-world requests (effectively detaching it). Fix this by remembering whether or not a thread acquired the GIL when it last attached, in `PyThreadState._status.holds_gil`, and check this in `drop_gil()` instead of `gil->enabled`. This fixes a crash in `test_multiprocessing_pool_circular_import()`, so I've reenabled it. (cherry picked from commit be1dfcc) Co-authored-by: Brett Simmers <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d98d6b1 - Browse repository at this point
Copy the full SHA d98d6b1View commit details -
[3.13] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465
) (python#119479) pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465) Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the host address or the "any" address, use the local communication address (loopback): VMADDR_CID_LOCAL. On Linux 6.9, apparently, the /dev/vsock device is now available but get_cid() returns VMADDR_CID_ANY (-1). (cherry picked from commit e94dbe4)
Configuration menu - View commit details
-
Copy full SHA for c750061 - Browse repository at this point
Copy the full SHA c750061View commit details
Commits on May 24, 2024
-
[3.13] pythonGH-113464: Run the JIT interpreter before any other JIT …
…CI (pythonGH-119490) (cherry picked from commit b48a3db)
Configuration menu - View commit details
-
Copy full SHA for e27e369 - Browse repository at this point
Copy the full SHA e27e369View commit details -
[3.13] pythongh-118692: Avoid creating unnecessary StopIteration inst…
…ances for monitoring (pythonGH-119216) (python#119497) * pythongh-118692: Avoid creating unnecessary StopIteration instances for monitoring (pythonGH-119216) (cherry picked from commit 6e9863d) --------- Co-authored-by: Irit Katriel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c864efb - Browse repository at this point
Copy the full SHA c864efbView commit details -
[3.13] pythongh-69214: Fix fcntl.ioctl() request type (pythonGH-119498)…
… (python#119504) pythongh-69214: Fix fcntl.ioctl() request type (pythonGH-119498) Use an 'unsigned long' instead of an 'unsigned int' for the request parameter of fcntl.ioctl() to support requests larger than UINT_MAX. (cherry picked from commit 92fab33) Co-authored-by: Victor Stinner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0bab0b3 - Browse repository at this point
Copy the full SHA 0bab0b3View commit details -
[3.13] pythonGH-119496: accept UTF-8 BOM in .pth files (pythonGH-119508)
`Out-File -Encoding utf8` and similar commands in Windows Powershell 5.1 emit UTF-8 with a BOM marker, which the regular `utf-8` codec decodes incorrectly. `utf-8-sig` accepts a BOM, but also works correctly without one. This change also makes .pth files match the way Python source files are handled. (cherry picked from commit bf5b646) Co-authored-by: Alyssa Coghlan <[email protected]> Co-authored-by: Inada Naoki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 217d57f - Browse repository at this point
Copy the full SHA 217d57fView commit details -
pythongh-118263: Add additional arguments to path_t (Argument Clinic …
…type) in posixmodule (pythonGH-118355) (cherry picked from commit 96b392d) Co-authored-by: Nice Zombies <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc38ee1 - Browse repository at this point
Copy the full SHA cc38ee1View commit details -
[3.13] Regen
Doc/requirements-oldest-sphinx.txt
(pythonGH-119520) (……python#119522) Co-authored-by: Kirill Podoprigora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 392a3d8 - Browse repository at this point
Copy the full SHA 392a3d8View commit details -
[3.13] Misc improvement to the docs for itertools (pythongh-119529) (p…
…ython#119531) Misc improvement to the docs for itertools (pythongh-119529)
Configuration menu - View commit details
-
Copy full SHA for 5544651 - Browse repository at this point
Copy the full SHA 5544651View commit details
Commits on May 25, 2024
-
[3.13] pythongh-111999: Fix the signature of str.format_map() (python…
…GH-119540) (python#119543) (cherry picked from commit 08e6543) Co-authored-by: Serhiy Storchaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f49749c - Browse repository at this point
Copy the full SHA f49749cView commit details -
[3.13] FAQ: Add reference to Python version numbering scheme (pythonG…
…H-119225) (python#119544) Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 317cc3b - Browse repository at this point
Copy the full SHA 317cc3bView commit details -
[3.13] pythongh-99180: Make
StackSummary.should_show_carets
private (……pythonGH-119554) (python#119556) Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2404cd9 - Browse repository at this point
Copy the full SHA 2404cd9View commit details
Commits on May 26, 2024
-
[3.13] docs: fix a few typos identified by codespell (pythonGH-119516) (
python#119570) Co-authored-by: Ned Batchelder <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f0198d - Browse repository at this point
Copy the full SHA 3f0198dView commit details -
[3.13] pythongh-111997: Fix argument count for LINE event and clarify…
… type of argument counts. (pythonGH-119179) (pythonGH-119575) pythongh-111997: Fix argument count for LINE event and clarify type of argument counts. (pythonGH-119179) (cherry picked from commit 70b07aa) Co-authored-by: scoder <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 825a5ae - Browse repository at this point
Copy the full SHA 825a5aeView commit details
Commits on May 27, 2024
-
[3.13] Fix typos in HISTORY documentation (pythonGH-119453) (python#1…
…19597) Co-authored-by: Xie Yanbo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46d7712 - Browse repository at this point
Copy the full SHA 46d7712View commit details -
[3.13] pythongh-119467: Fix Py_buffer.format type and correct documen…
…tation typo (pythonGH-119475) (python#119602) pythongh-119467: Fix Py_buffer.format type and correct documentation typo (pythonGH-119475) (cherry picked from commit 3b26cd8) Co-authored-by: Aditya Borikar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1302c1 - Browse repository at this point
Copy the full SHA f1302c1View commit details -
[3.13] Docs: Only install sphinx-autobuild for
make htmllive
(pytho……nGH-119607) (python#119621) Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba71835 - Browse repository at this point
Copy the full SHA ba71835View commit details -
[3.13] pythongh-119580: Improve version added section for convenience…
… variable (pythonGH-119583) (python#119624) Co-authored-by: Tian Gao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9edf010 - Browse repository at this point
Copy the full SHA 9edf010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8117cb5 - Browse repository at this point
Copy the full SHA 8117cb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a4a318 - Browse repository at this point
Copy the full SHA 0a4a318View commit details -
[3.13] pythongh-119560: Drop an Invalid Assert in PyState_FindModule() (
pythongh-119561) (pythongh-119632) The assertion was added in pythongh-118532 but was based on the invalid assumption that PyState_FindModule() would only be called with an already-initialized module def. I've added a test to make sure we don't make that assumption again. (cherry picked from commit 0c5ebe1) Co-authored-by: Eric Snow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd9983c - Browse repository at this point
Copy the full SHA bd9983cView commit details -
[3.13] pythongh-119584: Fix test_import Failed Assertion (pythongh-11…
…9623) (pythongh-119633) The fix in pythongh-119561 introduced an assertion that doesn't hold true if any of the three new test extension modules are loaded more than once. This is fine normally but breaks if the new test_check_state_first() is run more than once, which happens for refleak checking and with the regrtest --forever flag. We fix that here by clearing each of the three modules after loading them. We also tweak a check in _modules_by_index_check(). (cherry picked from commit ae7b176) Co-authored-by: Eric Snow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 660125f - Browse repository at this point
Copy the full SHA 660125fView commit details -
[3.13] pythongh-117398: Add multiphase support to _datetime (pythongh…
…-119373) (pythongh-119636) This is minimal support. Subinterpreters are not supported yet. That will be addressed in a later change. (cherry picked from commit 3e8b609) Co-authored-by: Erlend E. Aasland <[email protected]> Co-authored-by: Eric Snow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d58ebf0 - Browse repository at this point
Copy the full SHA d58ebf0View commit details -
[3.13] pythongh-119317: findall instead of traverse for docutils nodes (
pythonGH-119319) (python#119486) pythongh-119317: findall instead of traverse for docutils nodes (pythonGH-119319) (cherry picked from commit 0867bce) Co-authored-by: Carlos Meza <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7322ff1 - Browse repository at this point
Copy the full SHA 7322ff1View commit details
Commits on May 28, 2024
-
[3.13] pythongh-117398: Revert pythongh-119636, Add multiphase suppor…
…t to _datetime (python#119639) Revert "[3.13] pythongh-117398: Add multiphase support to _datetime (pythongh-119373) (pythongh-119636)" This reverts commit d58ebf0.
Configuration menu - View commit details
-
Copy full SHA for 9216a53 - Browse repository at this point
Copy the full SHA 9216a53View commit details