-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
bpo-28764: mailbox.mbox: handle lines with non-ascii more graceful #23553
base: main
Are you sure you want to change the base?
Conversation
…aceful Don't fail to parse if non-ascii characters occur after a From: line.
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! |
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. |
This was already silently skipping non-ascii things on lines that didn't start with a |
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. |
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. |
Still waiting for feedback from maintainers. |
CLA signed |
@CoolCat467 is there anything preventing this PR from getting merged? Anything needed to do on my side? |
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. |
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 |
The way this library currently throws the |
Don't fail to parse if non-ascii characters occur after a From: line.
https://bugs.python.org/issue42433
https://bugs.python.org/issue28764