#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
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):

 In [changeset:"da1dfe64c821ba03ca7b0c936184cca1ad641316" da1dfe64]:
 {{{#!CommitTicketReference repository=""
 revision="da1dfe64c821ba03ca7b0c936184cca1ad641316"
 [5.2.x] 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.

 Backport of 34186e731ca20a2344b1f88fd543a854d6b13a00 from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36712#comment:14>
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/0107019adcc31aa5-302e946f-0d86-4fb3-b223-617d75d0b0fb-000000%40eu-central-1.amazonses.com.

Reply via email to