pub fn is_python_space(c: char) -> boolExpand description
Python’s str.isspace(), str.strip(), and \s on a str pattern.
One set of 29 code points, verified identical across all three on 3.10 and
3.13: the Unicode White_Space property plus the four C0 separators
U+001C-U+001F. Rust’s char::is_whitespace is White_Space alone, 25
points, so str::trim is not str.strip() and is never used to port it.
Written out rather than delegated to char::is_whitespace plus the four,
because this predicate decides parity and should not depend on which Unicode
version the compiler shipped with. python_whitespace_matches_rusts_view
below is the drift detector for that choice.