#36810: SimpleLazyObject.__repr__ causes infinite recursion when setup function
is
a bound method
-------------------------------------+-------------------------------------
Reporter: Sean Reed | Owner: (none)
Type: Bug | Status: new
Component: Core (Other) | Version: 6.0
Severity: Release blocker | Resolution:
Keywords: LazyNonce, csp, | Triage Stage: Accepted
SimpleLazyObject |
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):
* needs_better_patch: 0 => 1
* needs_docs: 0 => 1
Comment:
Replying to [comment:7 Clifford Gama]:
> I only marked as release blocker because the issue surfaced because of
`LazyNonce`'s usage of `SimpleLazyObject`'s `__init__()`, and I imagined
we'd have to do something about `LazyNonce.__repr__()`. But my knowledge
about backporting is a bit naive. Please feel free to adjust the severity
as you see fit.
Thank you for the extra rationale!
I think we can leave the RB status set and ensure that the fixing PR has
two commits:
* one with the fix for the underlying cause in `SimpleLazyObject`
* one with a workaround for `LazyNone` with a release note so we backport
to 6.0
How does that sound?
--
Ticket URL: <https://code.djangoproject.com/ticket/36810#comment:8>
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/0107019b36cd4174-fe528b44-79e5-4ac4-b5a2-81c9db24163a-000000%40eu-central-1.amazonses.com.