Is there a Python constant for Unicode whitespace?
<p>The <code>string</code> module contains a <code>whitespace</code> attribute, which is a string consisting of all the ASCII characters that are considered whitespace. Is there a corresponding constant that includes Unicode spaces too, such as the <a href="http://www.fileformat.info/info/unicode/char/00a0/index.htm" rel="noreferrer">no-break space (U+00A0)</a>? We can see from the question "<a href="https://stackoverflow.com/questions/22230080/strip-and-stripstring-whitespace-give-different-results-despite-documentatio">strip() and strip(string.whitespace) give different results</a>" that at least <code>strip</code> is aware of additional Unicode whitespace characters.</p>

<p>This question was identified as a duplicate of <a href="https://stackoverflow.com/questions/8921365/in-python-how-to-list-all-characters-matched-by-posix-extended-regex-space?lq=1">
In Python, how to list all characters matched by POSIX extended regex <code>[:space:]</code>?</a>, but the answers to that question identify ways of <em>searching</em> for whitespace characters to generate your own list. This is a time-consuming process. My question was specifically about a <strong>constant</strong>.</p>