#36712: Deferred Annotations on Template Tags lead to TypeError with Python 3.14
-------------------------------------+-------------------------------------
Reporter: Patrick Rauscher | Owner: Augusto
| Pontes
Type: Bug | Status: assigned
Component: Template system | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: typing, inspect, | Triage Stage: Accepted
deferred annotations |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):
* component: Uncategorized => Template system
* keywords: => typing, inspect, deferred annotations
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
* type: Uncategorized => Bug
Comment:
Thanks for the report. We should migrate away from
[https://docs.python.org/3/library/inspect.html#inspect.getfullargspec
getfullargspec()] anyway:
> Note that signature() and Signature Object provide the recommended API
for callable introspection, and support additional behaviours (like
positional-only arguments) that are sometimes encountered in extension
module APIs. This function is retained primarily for use in code that
needs to maintain compatibility with the Python 2 inspect module API.
See also this [https://github.com/python/cpython/issues/108901 deprecation
proposal].
--
Ticket URL: <https://code.djangoproject.com/ticket/36712#comment:2>
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/0107019a59b9618f-f1100663-a748-4389-86e4-445f69fa0e36-000000%40eu-central-1.amazonses.com.