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 Jun
Recipients Jun, docs@python, ezio.melotti, vstinner
Date 2019-04-02.06:36:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I was looking for a list of Unicode codepoints that str.isspace() returns true.

According to, it's 
"Whitespace characters are those characters defined in the Unicode character database as “Other” or “Separator” and those with bidirectional property being one of “WS”, “B”, or “S”."

However, for U+202F( which is a "Separator" and its bidirectional property is "CS", str.isspace() returns True while it shouldn't if we follow the definition above. 

>>> "\u202f".isspace()

I'm not sure either the documentation should be updated or behavior should be updated, but at least those should be consistent.
Date User Action Args
2019-04-02 06:36:07Junsetrecipients: + Jun, vstinner, ezio.melotti, docs@python
2019-04-02 06:36:07Junsetmessageid: <>
2019-04-02 06:36:07Junlinkissue36502 messages
2019-04-02 06:36:07Juncreate