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
Missing the charset parameter in as_encoded_word() #67337
Comments
In Lib/email/_header_value_parser.py:460 the as_encoded_word() method is called without mandatory argument charset. |
Ping. |
Same comment as the fold bug...I need to find time to work out a test case (or for someone else to do so). |
The only tests that call cte_encode() are test_address_list_with_unicode_names and test_address_list_with_unicode_names_in_quotes. The only method that calls cte_encode() (besides recursive cte_encode) is TokenList._fold(). Methods UnstructuredTokenList.cte_encode() and Phrase._fold() are not covered by tests. |
New changeset efd4ffa88173 by Serhiy Storchaka in branch '3.5': New changeset 33593fcdf8b0 by Serhiy Storchaka in branch 'default': |
I can't find as_encoded_word anywhere. Even on 3.7 branch. |
The code was completely rewritten in bpo-27240. No tests are needed. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: