Skip to content

Commit

Permalink
eagerly import os, it is free
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood committed Oct 4, 2023
1 parent c72ee5c commit e201028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/email/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'unquote',
]

import os
import re
import time
import datetime
Expand Down Expand Up @@ -179,7 +180,6 @@ def make_msgid(idstring=None, domain=None):
"""
# Lazy imports to speedup module import time
# (no other functions in email.utils need these modules)
import os
import random
import socket

Expand Down

0 comments on commit e201028

Please sign in to comment.