Uh oh!
There was an error while loading. Please reload this page.
bpo-28764: mailbox.mbox: handle lines with non-ascii more graceful - #23553
bpo-28764: mailbox.mbox: handle lines with non-ascii more graceful#23553flokli wants to merge 1 commit into
Conversation
…aceful Don't fail to parse if non-ascii characters occur after a From: line.
the-knights-who-say-ni
commented
Nov 29, 2020
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
jstasiak
commented
Dec 1, 2020
Two cents from me: if I was using this API I'd not want to it to modify the data being imported silently and in a lossy way so an exception raised (the current behavior) seems superior to me. Even better would be to actually accept non-ascii characters as-is but I'm not sure how feasible that is. |
flokli
commented
Dec 5, 2020
This was already silently skipping non-ascii things on lines that didn't start with a |
jstasiak
commented
Dec 6, 2020
I'm totally unconvinced by https://bugs.python.org/issue42433#msg382169, but
seems like an argument to me, fair enough. |
This PR is stale because it has been open for 30 days with no activity. |
flokli
commented
Jan 6, 2021
This isn't stale, but waiting for maintainer feedback (@bitdancer ?) |
This PR is stale because it has been open for 30 days with no activity. |
flokli
commented
Feb 7, 2021
Still waiting for feedback from maintainers. |
CoolCat467
commented
Oct 5, 2021
CLA signed |
flokli
commented
Oct 7, 2021
@CoolCat467 is there anything preventing this PR from getting merged? Anything needed to do on my side? |
CoolCat467
commented
Oct 14, 2021
I think it needs maintainer review yet... Maybe look into adding reviewers in bpo? |
I can't assign people in bpo, but I can cc @maxking and @bitdancer on this PR due to #17620. |
liakoyras
commented
Mar 17, 2022
Hi. I am having the same problem, I want to parse mbox files that contain international email addresses in the I think that the premise of using |
isonno
commented
Aug 2, 2023
The way this library currently throws the |
This PR is stale because it has been open for 30 days with no activity. |
CoolCat467
commented
Apr 8, 2026
Again just waiting for a review, not stale |
bitdancer
commented
Apr 8, 2026
Needs a news item and a test, but the fix itself looks fine. |
flokli
commented
Apr 8, 2026
I'd happily let someone else take this over to the finish line. |
Don't fail to parse if non-ascii characters occur after a From: line.
https://bugs.python.org/issue42433
https://bugs.python.org/issue28764