Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
bpo-36502: Correct documentation of `str.isspace`. #15019
The documented definition was much broader than the real one:
Rewrite the definition to agree with the comment on
Add suitable breadcrumbs so that a reader who wants to pin down
Also add to the
Hello, and thanks for your contribution!
I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).
Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.
You can check yourself to see if the CLA has been received.
Thanks again for your contribution, we look forward to reviewing it!
Ah, thanks for those links!
Indeed this looks like exactly the documentation bug this patch fixes.
This is a proposal to change the behavior of
That will represent a change in behavior; I'm not sure what that means for releasing such a change. It's also significant work (as we don't currently parse that part of the Unicode database at all), which perhaps partly explains why it hasn't been done in the 6 years since it was proposed.
For any release before the change to use
@vstinner I just pushed another update:
Thanks again for the review!
I wrote the explicit