#35648: SafeString and overriding addition do not work well together
-------------------------------------+-------------------------------------
Reporter: Matthias Kestenholz | Owner: Matthias
| Kestenholz
Type: Bug | Status: closed
Component: Utilities | Version: dev
Severity: Normal | Resolution: fixed
Keywords: safestring | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by nessita <124304+nessita@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"d84200e4eb4d20116080130c612ba157a4718977" d84200e4]:
{{{#!CommitTicketReference repository=""
revision="d84200e4eb4d20116080130c612ba157a4718977"
Fixed #35648 -- Raised NotImplementedError in SafeString.__add__ for non-
string RHS.
This change ensures SafeString addition operations handle non-string RHS
properly, allowing them to implement __radd__ for better compatibility.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35648#comment:10>
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/01070191479f5566-82a0338d-e1ff-4d13-8b02-195e16f67234-000000%40eu-central-1.amazonses.com.