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
Possible error in _header_value_parser.py #67336
Comments
In UnstructuredTokenList._fold() at line 439 the fold() method is called with one positional argument. if part.has_fws:
part.fold(folded)
continue But there are no fold() methods with one positional parameter. May be it should be _fold()? |
Ping. |
Probably. What I need is a test case that triggers it. (FYI, I know there are other bugs in that algorithm...what I really need to do is completely rewrite it to be simpler and more understandable, but there are so many edge cases that I haven't found the time to tackle it yet). |
If I had a test case, I would write the patch. But I'm not experienced in the email package. |
Yes, I assumed that you didn't have a test case. I was explaining why I hadn't done anything with this issue :) |
New changeset efd4ffa88173 by Serhiy Storchaka in branch '3.5': New changeset 33593fcdf8b0 by Serhiy Storchaka in branch 'default': |
This issue looks resolved. |
Thanks for the ping. Whether or not Serhiy's patch fixed the original problem, the algorithm rewrite has happened so this issue is no longer relevant in any case. |
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: