I suggest including a simple str variable in unicodedata module to mirror 
string.whitespace, so it would contain all characters defined in CPython 
function 
[_PyUnicode_IsWhitespace()](https://github.com/python/cpython/blob/main/Objects/unicodetype_db.h#L6314)
 so that:

 # existent
string.whitespace = ' \t\n\r\x0b\x0c' 

# proposed
unicodedata.whitespace = ' 
\t\n\x0b\x0c\r\x1c\x1d\x1e\x1f\x85\xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000'
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/RCFULMCPVDNWB6WOC6DVGAFIAJFYFGMP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to