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

The check to see if we have no weakrefs isn't correct #118519

Closed
@DinoV

Description

@DinoV

Bug report

Bug description:

https://github.com/python/cpython/blob/main/Objects/weakrefobject.c#L991

This is checking if we have a list at all, rather than if the list is empty. This is causing a slow down that's pretty significant on free-threaded builds

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp