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
unicode "support" for shlex.py #38540
Comments
Due to shlex.py's use of cStringIO, it behaves badly when fed unicode |
Logged In: YES Ugh, I take that back: it doesn't fix it, there's a gross snippet in shlex.py that if self.posix:
self.wordchars += ('??·???ÂÊÁËÈÍÎÏÌÓÔ?ÒÚÛÙ??¯???¸???'
'¿¡¬????«»? ÀÃÕ????????÷ÿ??????') Help. I'd love to fix this, but I'm not sure what would be correct (my intuition |
Logged In: YES To test whether a letter is a wordchar, you should check |
Logged In: YES I'll reject that patch for now. If you manage to complete |
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: