#35361: SafeMIMEText.set_payload() crash on Python 3.11.9 -------------------------------------+------------------------------------- Reporter: Sarah Boyce | Owner: Natalia | Bidart Type: Bug | Status: closed Component: Core (Mail) | Version: 4.2 Severity: Release blocker | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Sarah Boyce <42296566+sarahboyce@…>):
In [changeset:"2e6ae1e96a405fc2ac318325956ce276cfb9830c" 2e6ae1e9]: {{{#!CommitTicketReference repository="" revision="2e6ae1e96a405fc2ac318325956ce276cfb9830c" [5.0.x] Refs #34900, Refs #35361 -- Fixed SafeMIMEText.set_payload() crash on Python 3.13. Payloads with surrogates are passed to the set_payload() since https://github.com/python/cpython/commit/f97f25ef5dfcdfec0d9a359fd970abd139cf3428 Backport of b231bcd19e57267ce1fc21d42d46f0b65fdcfcf8 from main. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35361#comment:5> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018ec8c9ad06-20cecf82-e589-4aeb-8c41-20f58d821e12-000000%40eu-central-1.amazonses.com.