#36664: Python 3.15 compatibility.
-------------------------------------+-------------------------------------
     Reporter:  Mariusz Felisiak     |                    Owner:  Mariusz
                                     |  Felisiak
         Type:  New feature          |                   Status:  assigned
    Component:  Core (Other)         |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Someday/Maybe
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):

 In [changeset:"25cf1cbb1cb92c6c57b76cc43d697cfdc61f568f" 25cf1cb]:
 {{{#!CommitTicketReference repository=""
 revision="25cf1cbb1cb92c6c57b76cc43d697cfdc61f568f"
 Refs #36664 -- Updated SMTP EmailBackend tests for Python 3.15.

 Versions of Python prior to 3.15 would incorrectly encode non-ASCII
 email addresses using rfc2047, resulting in undeliverable email. The
 SMTP EmailBackend detects and prevents that (#35713). Python 3.15 fixes
 that behavior (CPython issue gh-122476).

 Updated test_rejects_non_ascii_local_part() to feature-detect the fix
 (in case it is backported) and check for a representative section of
 the Python error message if so; otherwise test for the SMTP EmailBackend
 workaround.

 Updated comments to clarify need and requirement.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36664#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 visit 
https://groups.google.com/d/msgid/django-updates/0107019e26520253-bd7e664e-8aba-467f-b2dc-af235fc5d951-000000%40eu-central-1.amazonses.com.

Reply via email to