[issue36502] str.isspace() for U+00A0 and U+202F differs from document

Greg Price report at bugs.python.org
Sat Aug 3 04:18:56 EDT 2019


Greg Price <gnprice at gmail.com> added the comment:

The actual behavior turns out to match that comment. See attached PR, which adds a test confirming that and also corrects the documentation.

(A related issue is #18236 -- we should probably adjust the definition to match the one Unicode now provides. But meanwhile we'll want to correct the docs.)

----------
nosy: +Greg Price

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36502>
_______________________________________


More information about the Python-bugs-list mailing list