Opened 7 hours ago

Last modified 4 hours ago

#36903 assigned Bug

inspect.signature should use FORWARDREF annotation_format for python 3.14+ — at Initial Version

Reported by: 93578237 Owned by:
Component: Core (Other) Version: 6.0
Severity: Release blocker Keywords: typing, inspect, deferred annotations
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

On python 3.14 it fails at least here:
https://github.com/django/django/blob/13299a6203f4bc3e5b2552c96a51ff2b15da3c43/django/contrib/auth/__init__.py#L43

Maybe a new function signature should be added to utils/inspect.py

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top