You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
email.mime.application.MIMEApplication expects bytes instead of Union[str, bytes] #2831
Current annotation for email.mime.application.MIMEApplication constructor expects first argument to be bytes, while it should be Union[str, bytes], as both are accepted and work fine, and moreover, the internal engine of email.message.Message.set_payload() actually transforms bytes to str.
Activity
jolaf commentedon Mar 7, 2019
The same goes for
MIMEImageandMIMEAudio.email.mime.application.MIMEApplication expects data to be bytes, whil…