Opened 10 years ago
Closed 8 years ago
#23905 closed Cleanup/optimization (fixed)
Use built-in email.utils.make_msgid() when dropping Python 2
Reported by: | Tim Graham | Owned by: | nobody |
---|---|---|---|
Component: | Core (Mail) | Version: | dev |
Severity: | Normal | Keywords: | drop-py2 |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
django.core.mail.message.make_msgid()
can be replaced with the Python built-in version when we drop Python 2. In Python 3.2 the domain
parameter was added which is needed to accomplish the fqdn caching we are doing.
Note:
See TracTickets
for help on using tickets.
In ebb927c4c997d4c8d9a55ec78cd2476a13bd1782: