#35581: Upgrade django.core.mail to use Python's modern email API
-------------------------------------+-------------------------------------
     Reporter:  Mike Edmunds         |                    Owner:  Mike
         Type:                       |  Edmunds
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Mail)          |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:  email, compat32      |             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:"5ca470a52e99b84446c838416fbdac921bfb8146" 5ca470a]:
 {{{#!CommitTicketReference repository=""
 revision="5ca470a52e99b84446c838416fbdac921bfb8146"
 Refs #35581 -- Reduced implementation dependencies in mail tests.

 Updated mail tests in preparation for migrating from Python's legacy
 to modern email API. The updated tests will pass with either Python API,
 and focus on desired outcomes (e.g., that a message with non-ASCII
 content parses accurately at the receiving end) rather than specific
 implementation details (e.g., where rfc2047 encoded-words are split).

 In a few cases that are still implementation dependent, added comments
 identifying behavior specific to the legacy email API and expected to
 change under the modern one.

 Added comments identifying tests that cover internal functions planned
 for deprecation, and (where meaningful) added similar tests to verify
 the equivalent behavior in non-deprecated features.

 Removed obsolete tests left over from Python 2.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35581#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/010701981370881a-3978d69a-ffde-407c-8383-199f82eb421a-000000%40eu-central-1.amazonses.com.

Reply via email to