Content-Length: 271632 | pFad | https://github.com/python/cpython/issues/124642

BF Free-threaded dictionary lookups aren't marking objects as weakref'd · Issue #124642 · python/cpython · GitHub
Skip to content

Free-threaded dictionary lookups aren't marking objects as weakref'd #124642

@DinoV

Description

@DinoV

Bug report

Bug description:

Dictionaries have a fast path which doesn't lock on lookups and a slow path which does. The intention is that the fast-path will succeed after the first slow-path lookup has been passed. But currently we're not parking objects as shared so it always fails.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/124642

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy