-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-137153: Add latin_N
aliases to encodings.aliases
#136701
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
base: main
Are you sure you want to change the base?
Conversation
I don't think this will work (and I'm surprised that the email package's test still pass): The Also note that the encoding package's aliases refer to module names used in the package and not necessarily widely accepted encoding names used in email, e.g. "iso-8859-1" is commonly used in email, but not "iso8859_1". |
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.
See my comments on the issue. I don't think this is a good way to "reuse" the encoding packages aliases dictionary.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I withdraw my attempt on the email module, I will reuse this pr/branch to add just the aliases. |
encodings.aliases
in email
modlatin_N
aliases to encodings.aliases
I have made the requested changes; please review again |
Thanks for making the requested changes! @malemburg: please review the changes made to this pull request. |
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.
LGTM.
Requesting Marc since
encodings.aliases
has been updated, no rush, this can wait till you have time.latin_N
codecs aliases toencodings.aliases
#137153