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
only accept byte for getarg('c') and unicode for getarg('C') #49749
Comments
To avoid byte/character mixture, getarg('c') must only accept a byte Impacted methods:
I tried runtests.sh: only the 3 bytes.{center,ljust,rjust} tests have |
unicode methods center(), ljust(), rjust() use a callback (convert_uc) |
good catch. the patch looks correct to me. |
Fixed in r71013. |
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: