#34822: Provide migration serializer for `_lru_cache_wrapper`
-------------------------------------+-------------------------------------
Reporter: Natalia Bidart | Owner: Nick Pope
Type: New feature | Status: closed
Component: Migrations | Version: dev
Severity: Normal | Resolution: fixed
Keywords: serializer | Triage Stage: Ready for
functools cache | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"5f9e5c1b0d5680f793ba7646d52ffab9e2c3623f" 5f9e5c1]:
{{{
#!CommitTicketReference repository=""
revision="5f9e5c1b0d5680f793ba7646d52ffab9e2c3623f"
Refs #34822, Refs #34986 -- Fixed migrations serializer support for
functools.lru_cache().
It turns out that `functools._lru_cache_wrapper` is only a class when
CPython's _functools C module provides it, otherwise it is a function.
PyPy also provides it as a function.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34822#comment:9>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/0107018c15f8f7af-980241fc-e048-4ccb-838a-0bf05bec43c6-000000%40eu-central-1.amazonses.com.