#36903: inspect.signature should use FORWARDREF annotation_format for python
3.14+
-------------------------------------+-------------------------------------
Reporter: 93578237 | Owner: 93578237
Type: Bug | Status: closed
Component: Core (Other) | Version: 5.2
Severity: Release blocker | Resolution: fixed
Keywords: typing, inspect, | Triage Stage: Ready for
deferred annotations | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):
In [changeset:"a4999ef1b9790a4c0e793cf0e5c464e9935c3c3a" a4999ef]:
{{{#!CommitTicketReference repository=""
revision="a4999ef1b9790a4c0e793cf0e5c464e9935c3c3a"
[5.2.x] Fixed #36903 -- Fixed further NameErrors when inspecting functions
with deferred annotations.
Provide a wrapper for safe introspection of user functions on Python
3.14+.
Follow-up to 601914722956cc41f1f2c53972d669ddee6ffc04.
Backport of 56ed37e17e5b1a509aa68a0c797dcff34fcc1366 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36903#comment:15>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019c499dff5d-0d606001-5f4c-4acb-802c-37b9c8eeef68-000000%40eu-central-1.amazonses.com.