This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients senji, steven.daprano
Date 2020-01-22.13:14:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579698843.96.0.286836828974.issue39418@roundup.psfhosted.org>
In-reply-to
Content
There's a discrepancy between the string.whitespace constant and actual whitespace as tested by the str.isspace() method.

I've found five ASCII whitespace characters (as reported by isspace) which aren't in the string.whitespace constant, and 18 non-ASCII whitespace characters which aren't in the string.

The good news is that there are no non-whitespace characters in the constant :-)

The non-ASCII ones probably don't matter, as string.whitespace is documented as only being ASCII. But the following are missing:

U+001C, U+001D, U+001E, U+001F, U+0085
History
Date User Action Args
2020-01-22 13:14:03steven.dapranosetrecipients: + steven.daprano, senji
2020-01-22 13:14:03steven.dapranosetmessageid: <1579698843.96.0.286836828974.issue39418@roundup.psfhosted.org>
2020-01-22 13:14:03steven.dapranolinkissue39418 messages
2020-01-22 13:14:03steven.dapranocreate