-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
smtplib: Improve bytes handling #9094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
def auth_plain(self, challenge: bytes | None = ...) -> str: ... | ||
def auth_login(self, challenge: bytes | None = ...) -> str: ... | ||
def auth_cram_md5(self, challenge: ReadableBuffer) -> str: ... | ||
def auth_plain(self, challenge: ReadableBuffer | None = ...) -> str: ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The challenge
parameter doesn't look like it's actually used for this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The next one doesn't really use it either, I figured I should be consistent with auth_cram_md5
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that makes sense, I figured as much!
No description provided.