#33217: Add parentheses to @functools.lru_cache
------------------------------------------------+------------------------
Reporter: jinsim | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Uncategorized | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Although python 3.6 and python 3.7 will be deleted, i think it would be
better to show the error phrase accurately.
As shown in the figure below, when using @functools.lru_cache in python
3.7 or lower, an unclean error occurs.
So i think it would be better to write @functools.lru_cache() until 3.6
and 3.7 are completely deleted.
https://drive.google.com/file/d/1SVUY8lTi4VOMdl-
LznO_H8Q6sCwDc1gU/view?usp=sharing
https://drive.google.com/file/d/1cvdSqJuMEJBwwD0kF-
Y_CEwgbArUkPqr/view?usp=sharing
https://drive.google.com/file/d/1C1AwEfF2-KifDOeAb1cewF57iBj1XbYb/view?usp=sharing
--
Ticket URL: <https://code.djangoproject.com/ticket/33217>
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/049.e5abee35b4d43ee5a5853b423973c129%40djangoproject.com.