summaryrefslogtreecommitdiffstats
path: root/Programs
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2025-01-10 12:59:51 (GMT)
committerGitHub <noreply@github.com>2025-01-10 12:59:51 (GMT)
commit802556abfa008abe0bdd78e6f9e18bef71db90c1 (patch)
treec7a2f1405b1bb5f62603cb3b53c361ef5965cf7e /Programs
parent688f3a0d4b94874ff6d72af3baafd8bbf911153e (diff)
downloadcpython-802556abfa008abe0bdd78e6f9e18bef71db90c1.zip
cpython-802556abfa008abe0bdd78e6f9e18bef71db90c1.tar.gz
cpython-802556abfa008abe0bdd78e6f9e18bef71db90c1.tar.bz2
gh-127257: Add hex code to ssl "unknown error" message (GH-127360)
* ssl: Add hex error code to "unknown error" messages To make it easier to vary the individual parts of the message, replace the if-ladder with constant format strings by building the string piece-wise with PyUnicodeWriter. Use "unknown error (0x%x)" rather than just "unknown error" if we can't get a better error message. (Hex makes sense as the error includes two packed parts.)
Diffstat (limited to 'Programs')
0 files changed, 0 insertions, 0 deletions