Staging
v0.8.1
v0.8.1
Revision c00f7037df3607c89323e68db3ab996b7df394de authored by Miss Islington (bot) on 22 September 2018, 05:00:42 UTC, committed by GitHub on 22 September 2018, 05:00:42 UTC
OpenSSL follows the convention that whenever you call a function, it returns an error indicator value; and if this value is negative, then you need to go look at the actual error code to see what happened. Commit c6fd1c1c3a introduced a small mistake in _ssl__SSLSocket_shutdown_impl: instead of checking whether the error indicator was negative, it started checking whether the actual error code was negative, and it turns out that the error codes are never negative. So the effect was that 'unwrap()' lost the ability to raise SSL errors. https://bugs.python.org/issue34759 (cherry picked from commit c0da582b227f311126e278b5553a7fa89c79b054) Co-authored-by: Nathaniel J. Smith <njs@pobox.com>
1 parent 5c3d8b2
File | Mode | Size |
---|---|---|
clinic | ||
stringlib | ||
README | -rw-r--r-- | 41 bytes |
abstract.c | -rw-r--r-- | 66.8 KB |
accu.c | -rw-r--r-- | 2.4 KB |
boolobject.c | -rw-r--r-- | 6.5 KB |
bytearrayobject.c | -rw-r--r-- | 69.2 KB |
bytes_methods.c | -rw-r--r-- | 22.4 KB |
bytesobject.c | -rw-r--r-- | 99.3 KB |
call.c | -rw-r--r-- | 37.0 KB |
capsule.c | -rw-r--r-- | 7.2 KB |
cellobject.c | -rw-r--r-- | 4.4 KB |
classobject.c | -rw-r--r-- | 17.9 KB |
codeobject.c | -rw-r--r-- | 27.3 KB |
complexobject.c | -rw-r--r-- | 32.3 KB |
descrobject.c | -rw-r--r-- | 55.0 KB |
dict-common.h | -rw-r--r-- | 2.2 KB |
dictnotes.txt | -rw-r--r-- | 6.0 KB |
dictobject.c | -rw-r--r-- | 129.0 KB |
enumobject.c | -rw-r--r-- | 13.3 KB |
exceptions.c | -rw-r--r-- | 85.6 KB |
fileobject.c | -rw-r--r-- | 14.8 KB |
floatobject.c | -rw-r--r-- | 71.1 KB |
frameobject.c | -rw-r--r-- | 34.2 KB |
funcobject.c | -rw-r--r-- | 29.2 KB |
genobject.c | -rw-r--r-- | 64.7 KB |
iterobject.c | -rw-r--r-- | 9.0 KB |
listobject.c | -rw-r--r-- | 95.1 KB |
listsort.txt | -rw-r--r-- | 35.3 KB |
lnotab_notes.txt | -rw-r--r-- | 5.7 KB |
longobject.c | -rw-r--r-- | 166.4 KB |
memoryobject.c | -rw-r--r-- | 88.7 KB |
methodobject.c | -rw-r--r-- | 9.2 KB |
moduleobject.c | -rw-r--r-- | 23.3 KB |
namespaceobject.c | -rw-r--r-- | 7.2 KB |
object.c | -rw-r--r-- | 60.7 KB |
obmalloc.c | -rw-r--r-- | 83.2 KB |
odictobject.c | -rw-r--r-- | 74.0 KB |
rangeobject.c | -rw-r--r-- | 34.3 KB |
setobject.c | -rw-r--r-- | 73.3 KB |
sliceobject.c | -rw-r--r-- | 19.2 KB |
structseq.c | -rw-r--r-- | 13.1 KB |
tupleobject.c | -rw-r--r-- | 29.9 KB |
typeobject.c | -rw-r--r-- | 238.8 KB |
typeslots.inc | -rw-r--r-- | 3.9 KB |
typeslots.py | -rwxr-xr-x | 1.2 KB |
unicodectype.c | -rw-r--r-- | 7.5 KB |
unicodeobject.c | -rw-r--r-- | 451.8 KB |
unicodetype_db.h | -rw-r--r-- | 241.6 KB |
weakrefobject.c | -rw-r--r-- | 29.5 KB |
Computing file changes ...