#36712: Deferred type annotations on template tags lead to TypeError with Python
3.14
-------------------------------------+-------------------------------------
Reporter: Patrick Rauscher | Owner: Jacob
| Walls
Type: Bug | Status: closed
Component: Template system | 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
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"34186e731ca20a2344b1f88fd543a854d6b13a00" 34186e73]:
{{{#!CommitTicketReference repository=""
revision="34186e731ca20a2344b1f88fd543a854d6b13a00"
Fixed #36712 -- Evaluated type annotations lazily in template tag
registration.
Ideally, this will be reverted when an upstream solution is available for
https://github.com/python/cpython/issues/141560.
Thanks Patrick Rauscher for the report and Augusto Pontes for the
first iteration and test.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36712#comment:12>
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/0107019adcbfa2f3-9a275e2b-94b3-4947-a5d2-c6702fb16b91-000000%40eu-central-1.amazonses.com.