#34746: High CPU/memory consumption when a 5XX is raised with large local
variables
-------------------------------------+-------------------------------------
Reporter: Rémi Dupré | Owner: Abdullah
Type: | Mujahid
Cleanup/optimization | Status: assigned
Component: Error reporting | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Abdullah Mujahid):
Hi, I'm taking over this ticket. I'll submit a fresh PR using `reprlib`
from the standard library as suggested in the recent discussion. Since
Django 6.0+ supports only Python 3.12+ we can use reprlib directly without
compatibility concerns.
I'll include tests and address the previous feedback about consistent
output representation.
--
Ticket URL: <https://code.djangoproject.com/ticket/34746#comment:23>
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/0107019bef107135-4d5ca790-c67c-488c-80a5-a6651db44e3a-000000%40eu-central-1.amazonses.com.