Skip to content

[3.11] gh-95605: Fix float(s) error message when s contains only whitespace (GH-95665) #95858

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

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 10, 2022

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 [email protected]

…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 <[email protected]>
@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅ .

@mdickinson
Copy link
Member

mdickinson commented Aug 10, 2022

@pablogsal This one should be harmless. It's also a rather minor bug that's been there since very early Python 3.x days, so it wouldn't hurt much if it had to wait for 3.11.1.

@mdickinson mdickinson requested a review from pablogsal August 10, 2022 18:29
@miss-islington
Copy link
Contributor Author

@mdickinson: Status check is done, and it's a success ❌ .

@mdickinson
Copy link
Member

mdickinson commented Aug 11, 2022

"Tests / macOS (pull_request)" is failing with some unrelated failures in test_ssl (test_get_server_certificate_timeout) and test_tools. I'll update the branch to force a re-run.

EDIT: Looks like the test_ssl failure is known: #95241. Not sure about the test_tools failure - that one vanished on the re-run.

@mdickinson mdickinson merged commit 3ea9ba6 into python:3.11 Aug 11, 2022
@miss-islington miss-islington deleted the backport-97e9cfa-3.11 branch August 11, 2022 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants