Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

backport a9a74da 3.13#119642

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

JelleZijlstra
Copy link
Member

@JelleZijlstraJelleZijlstra commentedMay 28, 2024
edited by github-actionsbot
Loading


📚 Documentation preview 📚:https://cpython-previews--119642.org.readthedocs.build/

Yhg1sand others added30 commitsMay 8, 2024 16:53
(cherry picked from commitc68311d)Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
)Docs: fix typos in documentation (pythonGH-118752)(cherry picked from commit7b0c247)Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
…ose with a default when constructing aliases (pythonGH-118774) (python#118776)(cherry picked from commitaac6b01)Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
…elves (pythonGH-117099) (python#118790)docs: module page titles should not start with a link to themselves (pythonGH-117099)(cherry picked from commitbcb435e)Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
…nGH-118758) (pythonGH-118792)(cherry picked from commit05c2fe1)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…bits` (pythonGH-118292) (python#118796)Use relaxed atomics when reading / writing to the field. There are still afew places in the GC where we do not use atomics. Those should be safe asthe world is stopped.(cherry picked from commitcb6f75a)Co-authored-by: mpage <mpage@meta.com>
…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 commit027e6d8)Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
…sses (pythonGH-118099) (python#118821)pythongh-118033: Fix `__weakref__` not set for generic dataclasses (pythonGH-118099)(cherry picked from commitfa9b9cb)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…line (pythonGH-103958) (pythonGH-118834)Print only filename with lineno if linecache.getline() returns an empty string.(cherry picked from commit7c87ce7)Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
…H-118831)(cherry picked from commit82acc5f)Co-authored-by: Steve Dower <steve.dower@python.org>
… (python#118847)(cherry picked from commitc3643a1)Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
…{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 commitc30d8e5)Co-authored-by: mpage <mpage@meta.com>
…s for ACLs. (pythonGH-118800)(cherry picked from commit8af84b5)Co-authored-by: Steve Dower <steve.dower@python.org>
…`dictobject.c` (pythonGH-118850) (python#118859)pythongh-118849: Fix "code will never be executed" warning in `dictobject.c` (pythonGH-118850)(cherry picked from commit82abe75)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…ded build (pythonGH-118723) (python#118863)The `list_preallocate_exact` function did not zero initialize arraycontents. In the free-threaded build, this could expose uninitializedmemory to concurrent readers between the call to`list_preallocate_exact` and the filling of the array contents withitems.(cherry picked from commit2402715)Co-authored-by: Sam Gross <colesbury@gmail.com>
… current file (pythonGH-118808) (python#118866)Some embedders and extensions include parts of the internal API. Thepycore_mimalloc.h file is transitively include by a number of otherinternal headers. This avoids include errors for code that wasalready including those headers.(cherry picked from commit71cc065)Co-authored-by: Sam Gross <colesbury@gmail.com>
…H-118862) (python#118867)Avoid immortalizing objects in tests that verify garbage collection ofclasses or modules.This fixes test_ordered_dict and test_struct.(cherry picked from commit1b1db2f)Co-authored-by: Sam Gross <colesbury@gmail.com>
…ules (pythonGH-118722) (python#118870)Using `race:` filters out warnings if the function appears anywhere inthe stack trace. This can hide a lot of unrelated warnings, especiallyfor a function like `_PyEval_EvalFrameDefault`, which is somewhere onthe stack more often than not.Change all free-threaded suppressions to `race_top:`, which only matchesthe top frame, and add any new suppressions this exposes.(cherry picked from commit98ff3f6)Co-authored-by: Brett Simmers <swtaarrs@users.noreply.github.com>
…Load() (pythonGH-118854) (python#118871)(cherry picked from commit68fbc00)Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
…dles a NULL object (pythonGH-115433)" (pythonGH-118861) (python#118872)This reverts commitad4f909.The API ended up not being used.(cherry picked from commit46c8081)Co-authored-by: Sam Gross <colesbury@gmail.com>
(cherry picked from commit7e6fcab)Co-authored-by: Steve Dower <steve.dower@python.org>
(cherry picked from commit7ac933e)Co-authored-by: Inada Naoki <songofacandy@gmail.com>
…dule (pythonGH-118213)(cherry picked from commite85e8de)Co-authored-by: Dobatymo <Dobatymo@users.noreply.github.com>
…onGH-118896) (python#118898)Rename `notimplemented_methods` into `nodefault_methods` (pythonGH-118896)(cherry picked from commit004db21)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
…H-118797) (pythonGH-118903)pythongh-118789: Restore hidden `_PyWeakref_ClearRef` (pythonGH-118797)_PyWeakref_ClearRef was previously exposed in the public C-API, althoughit begins with an underscore and is not documented. It's used by a fewC-API extensions. There is currently no alternative public API that canreplace its use._PyWeakref_ClearWeakRefsExceptCallbacks is the only thread-safe way touse _PyWeakref_ClearRef in the free-threaded build. This exposes the Csymbol, but does not make the API public.(cherry picked from commitdb5af7d)Co-authored-by: Sam Gross <colesbury@gmail.com>
…hreads.main` (pythonGH-118865) (python#118904)Use relaxed loads/stores when reading/writing to this field.(cherry picked from commit22d5185)Co-authored-by: mpage <mpage@meta.com>
…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 commitc444362)Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
…thon#118905)`_Py_qsbr_unregister` is called when the PyThreadState is alreadydetached, so the access to `tstate->qsbr` isn't safe without locking theshared mutex. Grab the `struct _qsbr_shared` from the interpreterinstead.(cherry picked from commit33d2019)Co-authored-by: Alex Turner <alexturner@meta.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

9 participants
@JelleZijlstra@Yhg1s@miss-islington@zooba@hugovk@lysnikolaou@vstinner@rhettinger@ericsnowcurrently

[8]ページ先頭

©2009-2025 Movatter.jp