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

3.12 regression: cannot create weak reference to 'typing.TypeVar' object #106403

Closed
Assignees
JelleZijlstra
Labels
3.12only security fixes3.13bugs and security fixestopic-typingtype-bugAn unexpected behavior, bug, or error
@encukou

Description

@encukou

This works in Python 3.11, but fails in 3.12b3:

importweakrefimporttypingweakref.ref(typing.TypeVar('T'))

I'm assuming it's an unintentional side effect of thePEP-695 implementation? Unfortunately I don't have time to investigate right now, let me know if I should.

Reported incloudpipe/cloudpickle#507

Linked PRs

Metadata

Metadata

Assignees

Labels

3.12only security fixes3.13bugs and security fixestopic-typingtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp