summaryrefslogtreecommitdiffstats
path: root/Tools/ssl
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-09-24 08:01:37 (GMT)
committerGitHub <noreply@github.com>2024-09-24 08:01:37 (GMT)
commite2f710792b0418b8ca1ca3b8cdf39588c7268495 (patch)
tree5fa743b6be184b1384cea36bc58e591b4568f52e /Tools/ssl
parent3c83f9958c14cd62ad8951c53536f7788745b0ba (diff)
downloadcpython-e2f710792b0418b8ca1ca3b8cdf39588c7268495.zip
cpython-e2f710792b0418b8ca1ca3b8cdf39588c7268495.tar.gz
cpython-e2f710792b0418b8ca1ca3b8cdf39588c7268495.tar.bz2
gh-124188: Fix PyErr_ProgramTextObject() (GH-124189)
* Detect source file encoding. * Use the "replace" error handler even for UTF-8 (default) encoding. * Remove the BOM. * Fix detection of too long lines if they contain NUL. * Return the head rather than the tail for truncated long lines.
Diffstat (limited to 'Tools/ssl')
0 files changed, 0 insertions, 0 deletions