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
gh-95605: Fix float(s) error message when s contains only whitespace
#95665
gh-95605: Fix float(s) error message when s contains only whitespace
#95665
Conversation
|
@ericvsmith Would you have bandwidth for review, by any chance? I think it's a fairly simple fix. (Indeed, I was sorely tempted to try a more complicated refactoring and cleanup, but I think that's best left for 3.12.) |
|
Thanks, @ericvsmith! |
|
Thanks @mdickinson for the PR |
|
GH-95858 is a backport of this pull request to the 3.11 branch. |
|
GH-95859 is a backport of this pull request to the 3.10 branch. |
…hitespace (pythonGH-95665) This PR fixes the error message from float(s) in the case where s contains only whitespace. (cherry picked from commit 97e9cfa75a80b54a0630b7371f35e368a12749d1) Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
…hitespace (pythonGH-95665) This PR fixes the error message from float(s) in the case where s contains only whitespace. (cherry picked from commit 97e9cfa) Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
This PR fixes the error message from
float(s)in the case wherescontains only whitespace.Closes #95605.