Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-118771: Ensure names defined in optimizer.h start with Py/_Py (GH-118825) | Petr Viktorin | 2024-05-10 | 4 | -39/+42 | |
| | ||||||
* | GH-78707: Drop deprecated `pathlib.PurePath.[is_]relative_to()` arguments ↵ | Barney Gale | 2024-05-10 | 4 | -29/+15 | |
| | | | | | | | (#118780) Remove support for supplying additional positional arguments to `PurePath.relative_to()` and `is_relative_to()`. This has been deprecated since Python 3.12. | |||||
* | gh-118895: Call PyType_Ready() on typing.NoDefault (#118897) | Jelle Zijlstra | 2024-05-10 | 4 | -2/+27 | |
| | ||||||
* | Correct the argument names for `secrets.choice` and `secrets.randbelow` in ↵ | Adam Dangoor | 2024-05-10 | 1 | -3/+3 | |
| | | | | | `secrets.rst` (GH-118098) Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`. | |||||
* | gh-117657: Fix QSBR race condition (#118843) | Alex Turner | 2024-05-10 | 4 | -8/+8 | |
| | | | | | | `_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. | |||||
* | gh-117657: Fix data races reported by TSAN on `interp->threads.main` (#118865) | mpage | 2024-05-10 | 3 | -13/+21 | |
| | | | Use relaxed loads/stores when reading/writing to this field. | |||||
* | gh-118789: Restore hidden `_PyWeakref_ClearRef` (#118797) | Sam Gross | 2024-05-10 | 3 | -2/+4 | |
| | | | | | | | | | | | _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. | |||||
* | gh-117398: Move types to datetime state (#118606) | Victor Stinner | 2024-05-10 | 1 | -77/+99 | |
| | | | | Move types to the datetime_state structure of the _datetime extension. | |||||
* | Rename `notimplemented_methods` into `nodefault_methods` (#118896) | Nikita Sobolev | 2024-05-10 | 1 | -4/+4 | |
| | ||||||
* | gh-118689: Doc: fix ePub build (#118690) | Inada Naoki | 2024-05-10 | 4 | -2/+7 | |
| | ||||||
* | gh-117873: Use positional-only parameters in _posixshmem (#118012) | Victor Stinner | 2024-05-10 | 2 | -11/+14 | |
| | | | | | * shm_unlink() parameter becomes positional-only. * shm_open() first parameter (path) becomes positional-only, the two following parameters remain positional-or-keyword. | |||||
* | gh-118209: Add Windows structured exception handling to mmap module (GH-118213) | Dobatymo | 2024-05-10 | 4 | -48/+410 | |
| | ||||||
* | Fix some missing null checks. (GH-118721) | Steve Dower | 2024-05-10 | 2 | -5/+13 | |
| | ||||||
* | Docs: fix typos in documentation (GH-118815) | Xie Yanbo | 2024-05-10 | 2 | -3/+3 | |
| | ||||||
* | Revert "gh-115432: Add critical section variant that handles a NULL object ↵ | Sam Gross | 2024-05-09 | 2 | -38/+0 | |
| | | | | | | | (#115433)" (#118861) This reverts commit ad4f909e0e7890e027c4ae7fea74586667242ad3. The API ended up not being used. | |||||
* | gh-118851: Default ctx arguments to AST constructors to Load() (#118854) | Jelle Zijlstra | 2024-05-09 | 6 | -6/+41 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-117657: Replace TSAN suppresions with more specific rules (#118722) | Brett Simmers | 2024-05-09 | 1 | -24/+81 | |
| | | | | | | | | | 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. | |||||
* | gh-118846: Fix PGO tests in free-threaded build (#118862) | Sam Gross | 2024-05-09 | 2 | -2/+4 | |
| | | | | | | Avoid immortalizing objects in tests that verify garbage collection of classes or modules. This fixes test_ordered_dict and test_struct. | |||||
* | gh-116984: Make mimalloc header includes relative to the current file (#118808) | Sam Gross | 2024-05-09 | 4 | -6/+9 | |
| | | | | | | 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. | |||||
* | gh-118561: Fix crash involving list.extend in free-threaded build (#118723) | Sam Gross | 2024-05-09 | 2 | -1/+4 | |
| | | | | | | | 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. | |||||
* | gh-118849: Fix "code will never be executed" warning in `dictobject.c` (#118850) | Nikita Sobolev | 2024-05-09 | 1 | -1/+1 | |
| | ||||||
* | gh-118773: Use language-invariant SDDL string instead of aliases for ACLs. ↵ | Steve Dower | 2024-05-09 | 2 | -154/+24 | |
| | | | | (GH-118800) | |||||
* | gh-117657: Acquire a critical section around `SemLock.__{enter,exit}__` ↵ | mpage | 2024-05-09 | 2 | -4/+14 | |
| | | | | | | (#118812) These methods are purely wrappers around `Semlock.{acquire,release}`, which expect a critical section to be held. | |||||
* | gh-118817: Fix `asyncio REPL` on Windows (#118819) | Kirill Podoprigora | 2024-05-09 | 2 | -4/+8 | |
| | ||||||
* | gh-118767: Improve tests and docs for bool(NotImplemented) (#118813) | Jelle Zijlstra | 2024-05-09 | 4 | -13/+15 | |
| | ||||||
* | gh-118802: Fix ACL use in test for non-English Windows (GH-118831) | Steve Dower | 2024-05-09 | 1 | -3/+2 | |
| | ||||||
* | gh-103956: Fix `trace` output in case of missing source line (GH-103958) | Radislav Chugunov | 2024-05-09 | 3 | -4/+38 | |
| | | | | Print only filename with lineno if linecache.getline() returns an empty string. | |||||
* | gh-118805: Remove type, choices, metavar params of `BooleanOptionalAction` ↵ | Nikita Sobolev | 2024-05-09 | 4 | -71/+10 | |
| | | | | | (#118806) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-118798: Remove deprecated isdst parameter from `email.utils.localtime` ↵ | Hugo van Kemenade | 2024-05-09 | 5 | -15/+13 | |
| | | | | (#118799) | |||||
* | gh-118033: Fix `__weakref__` not set for generic dataclasses (#118099) | Nikita Sobolev | 2024-05-09 | 3 | -3/+118 | |
| | ||||||
* | GH-101588: Remove deprecated pickle/copy/deepcopy from itertools (gh-118816) | Raymond Hettinger | 2024-05-09 | 4 | -1294/+8 | |
| | ||||||
* | [tests]: Mark ``test_statistics.test_kde_random`` with a ↵ | Kirill Podoprigora | 2024-05-09 | 1 | -0/+1 | |
| | | | | | ``requires_resource('cpu')`` decorator (#118801) Mark test_kde_random with a requires_resource('cpu') decorator | |||||
* | gh-118803: Remove `ByteString` from `typing` and `collections.abc` (#118804) | Nikita Sobolev | 2024-05-08 | 12 | -114/+14 | |
| | ||||||
* | gh-117657: Fix data races when writing / reading `ob_gc_bits` (#118292) | mpage | 2024-05-08 | 4 | -16/+45 | |
| | | | | | 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. | |||||
* | Fixing a typo in test_cmd_line.py (#118728) | Yutian Li | 2024-05-08 | 1 | -1/+1 | |
| | ||||||
* | Format None, True, False and NotImplemented as literals (GH-118758) | Serhiy Storchaka | 2024-05-08 | 39 | -83/+85 | |
| | ||||||
* | docs: module page titles should not start with a link to themselves (#117099) | Ned Batchelder | 2024-05-08 | 220 | -443/+440 | |
| | ||||||
* | Docs: fix typos in documentation (#118752) | Xie Yanbo | 2024-05-08 | 4 | -4/+4 | |
| | ||||||
* | Run CI on the 3.13 branch (#118779) | Jelle Zijlstra | 2024-05-08 | 1 | -10/+2 | |
| | ||||||
* | gh-118767: Make bool(NotImplemented) raise TypeError (#118775) | Jelle Zijlstra | 2024-05-08 | 6 | -14/+18 | |
| | ||||||
* | gh-118772: Allow TypeVars without a default to follow those with a default ↵ | Jelle Zijlstra | 2024-05-08 | 3 | -10/+34 | |
| | | | | when constructing aliases (#118774) | |||||
* | Fix file extensions for 3.14 Whats New (#118770) | Jelle Zijlstra | 2024-05-08 | 2 | -0/+1 | |
| | ||||||
* | Update Windows library names for the Python version bump (#118766) | Kirill Podoprigora | 2024-05-08 | 2 | -5/+5 | |
| | ||||||
* | gh-118486: Update docs for CVE-2024-4030 reference (GH-118737) | Steve Dower | 2024-05-08 | 2 | -0/+18 | |
| | ||||||
* | Regenerate configure for 3.14, which the release script forgot. (#118765) | T. Wouters | 2024-05-08 | 1 | -12/+12 | |
| | ||||||
* | Python 3.14.0a0 | Thomas Wouters | 2024-05-08 | 7 | -12/+143 | |
| | ||||||
* | Python 3.13.0b1v3.13.0b1 | Thomas Wouters | 2024-05-08 | 162 | -499/+1861 | |
| | ||||||
* | gh-118671: Updated dead ActiveState links (#118730) | trag1c | 2024-05-08 | 12 | -14/+14 | |
| | | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> | |||||
* | Regen ``Doc/requirements-oldest-sphinx.txt`` (#118736) | Kirill Podoprigora | 2024-05-08 | 1 | -3/+3 | |
| | | | Regen dependencies | |||||
* | gh-118746: Fix crash in frame_getlocals and _PyFrame_GetLocals (#118748) | Tian Gao | 2024-05-08 | 1 | -0/+18 | |
| | | | | We don't know how to create an unoptimized frame with f_locals == NULL, but they are seen in the wild, and this fixes the crash. |