aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/optimizer.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2025-04-09 11:08:04 +0300
committerGitHub <noreply@github.com>2025-04-09 11:08:04 +0300
commit7ebbd271444d89218870169624921b795a717470 (patch)
tree6a50692e0f19fdf1cea92c2e3531c2bbbdba26b2 /Python/optimizer.c
parent16dcb576f7623e19f22be631bbc0e565335da969 (diff)
downloadcpython-7ebbd271444d89218870169624921b795a717470.tar.gz
cpython-7ebbd271444d89218870169624921b795a717470.zip
gh-130631: Make join_header_words() more similar to the original Perl version (GH-130632)
* 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.
Diffstat (limited to 'Python/optimizer.c')
0 files changed, 0 insertions, 0 deletions