mirror of
https://github.com/python/cpython.git
synced 2026-01-30 14:46:17 +00:00
* Always quote strings with non-ASCII characters. * Allow some non-separator and non-control characters (like "." or "-") be unquoted. * Always quote strings that end with "\n". * Use the fullmatch() method for clarity and optimization. (cherry picked from commit 7ebbd271444d89218870169624921b795a717470)