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
shlex refactoring #51843
Comments
Currently, shlex.shlex's internal read_token is a bit of a nasty mess to The refactoring I'll be attaching essentially inverts the state machine End result, the refactored code actually has whitespace in it and still Beyond that, this should still be api compatible... and is 2x faster, Note this patch is cut against 2.6.4; assuming folks are happy w/ the From there, I'd be willing to tackle the other shlex issues where |
Thanks for the patch. Three minor things:
|
I tried to use this in place of shlex for parsing IMAP responses for the 'imapclient' package. A couple of things struck me.
|
The proposed refactor had some issue with it (according to the comments) and seems to have been abandoned for over a decade. I will close the issue unless someone sees a point in leaving it open. |
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: