cpython/Modules
Nathaniel J. Smith c0da582b22 bpo-34759: Fix error handling in ssl 'unwrap()' (GH-9468)
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
2018-09-21 21:44:12 -07:00
..
_blake2 Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
_ctypes bpo-34603, ctypes/libffi_msvc: Fix returning structs from functions (GH-9258) 2018-09-15 22:36:29 -07:00
_decimal Fix some warnings produced by different compilers. (#5593) 2018-02-09 17:31:26 +02:00
_io closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) 2018-09-12 12:06:42 -07:00
_multiprocessing bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
_sha3 Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
_sqlite bpo-34743: Fix test_database_source_name under SQLite 3.7.9 (GH-9426) 2018-09-20 14:14:33 +03:00
_xxtestfuzz Avoid UB in test selection macro. (#3407) 2017-09-06 18:00:47 -07:00
cjkcodecs bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746) 2017-12-15 13:11:11 +02:00
clinic bpo-25711: Rewrite zipimport in pure Python. (GH-6809) 2018-09-18 22:22:29 +03:00
expat bpo-34625: Update vendorized expat version to 2.2.6. (GH-9150) 2018-09-10 21:04:00 -07:00
README
Setup bpo-25711: Rewrite zipimport in pure Python. (GH-6809) 2018-09-18 22:22:29 +03:00
_abc.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
_asynciomodule.c bpo-34755: Add few minor optimizations in _asynciomodule.c. (GH-9455) 2018-09-21 09:11:32 +03:00
_bisectmodule.c
_bz2module.c bpo-33916: Fix bz2 and lzma init when called twice (GH-7843) 2018-06-23 10:35:23 +02:00
_codecsmodule.c bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485) 2017-03-12 10:10:47 +02:00
_collectionsmodule.c Minor performance tweak for deque.index() with a start argument (GH-9440) 2018-09-21 01:46:41 -07:00
_contextvarsmodule.c bpo-34762: Fix contextvars C API to use PyObject* pointer types. (GH-9473) 2018-09-21 15:33:56 -04:00
_cryptmodule.c fixes bpo-31866: remove code pertaining to AtheOS support (#4115) 2017-10-25 23:55:14 -07:00
_csv.c bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). (GH-8756) 2018-08-16 07:27:50 +03:00
_curses_panel.c bpo-20171: Convert the _curses and _curses_panel modules to Argument Clinic. (GH-4251) 2018-05-10 11:27:23 +03:00
_cursesmodule.c suppress compiler warnings in _cursesmodule.c (#7860) 2018-06-23 12:29:30 +08:00
_datetimemodule.c closes bpo-34471: _datetime: Add missing NULL check to tzinfo_from_isoformat_results. (GH-8869) 2018-08-24 08:53:16 -07:00
_dbmmodule.c bpo-33383: Fix crash in get() of the dbm.ndbm database object. (#6630) 2018-04-29 12:38:06 +03:00
_elementtree.c bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146) 2018-09-18 05:38:58 -07:00
_functoolsmodule.c bpo-32422: Reduce lru_cache memory usage (GH-5008) 2017-12-26 02:03:24 +09:00
_gdbmmodule.c Fix compiling error when missing gdbm version macros (GH-7823) 2018-06-20 21:23:30 +08:00
_hashopenssl.c closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) 2018-09-12 12:06:42 -07:00
_heapqmodule.c
_json.c bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) 2018-09-13 00:05:20 +03:00
_localemodule.c bpo-34485: Enhance init_sys_streams() (GH-8978) 2018-08-28 23:26:33 +02:00
_lsprof.c Fix docstring of Profiler class (GH-8651) 2018-08-03 18:09:57 +09:00
_lzmamodule.c bpo-33916: Fix bz2 and lzma init when called twice (GH-7843) 2018-06-23 10:35:23 +02:00
_math.c
_math.h
_opcode.c bpo-32455: Add jump parameter to dis.stack_effect(). (GH-6610) 2018-09-18 09:54:26 +03:00
_operator.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
_pickle.c closes bpo-34656: Avoid relying on signed overflow in _pickle memos. (GH-9261) 2018-09-20 18:36:40 -07:00
_posixsubprocess.c bpo-34651: Only allow the main interpreter to fork. (gh-9279) 2018-09-14 14:17:20 -07:00
_queuemodule.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
_randommodule.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
_scproxy.c closes bpo-31903: Release the GIL when calling into SystemConfiguration (GH-4178) 2018-09-11 16:14:00 -07:00
_sre.c Simplified implementation of _sre.ascii_iscased(). (GH-9097) 2018-09-12 15:49:09 +03:00
_ssl.c bpo-34759: Fix error handling in ssl 'unwrap()' (GH-9468) 2018-09-21 21:44:12 -07:00
_ssl_data.h
_stat.c
_struct.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
_testbuffer.c bpo-34201: Make ndarray.readonly a bool and use stricter tests in test_buffer. (GH-8414) 2018-07-26 13:23:03 +03:00
_testcapimodule.c Revert "bpo-34589: Add -X coerce_c_locale command line option (GH-9378)" (GH-9430) 2018-09-19 14:56:36 -07:00
_testimportmultiple.c
_testmultiphase.c Make two PyModuleDef_Slot symbols static in _testmultiphase. (GH-8147) 2018-07-06 21:05:51 -07:00
_threadmodule.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
_tkinter.c Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
_tracemalloc.c bpo-32030: Enhance Py_Main() (#4412) 2017-11-15 18:11:45 -08:00
_uuidmodule.c bpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099) 2018-05-25 00:45:09 +02:00
_weakref.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
_winapi.c bpo-34563: Fix for invalid assert on big output of multiprocessing.Process (GH-9027) 2018-09-04 18:10:28 +02:00
_xxsubinterpretersmodule.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
addrinfo.h
arraymodule.c bpo-32747: Remove trailing spaces in docstrings. (GH-5491) 2018-02-02 10:52:55 +02:00
atexitmodule.c bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611) 2017-12-20 11:17:58 +01:00
audioop.c bpo-33781: audioop: enhance rounding double as int (GH-7447) 2018-06-06 15:50:50 +02:00
binascii.c bpo-33770: improve base64 exception message for encoded inputs of invalid length (#7416) 2018-06-10 10:01:50 +03:00
cmathmodule.c
config.c.in rename _imp initialization function to follow conventions (#5432) 2018-01-29 11:33:57 -08:00
errnomodule.c
faulthandler.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
fcntlmodule.c bpo-32747: Remove trailing spaces in docstrings. (GH-5491) 2018-02-02 10:52:55 +02:00
gc_weakref.txt
gcmodule.c bpo-33597: Reduce PyGC_Head size (GH-7043) 2018-07-10 17:19:53 +09:00
getaddrinfo.c bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748) 2017-12-12 13:55:04 +02:00
getbuildinfo.c bpo-27593: Get SCM build info from git instead of hg. (#446) 2017-03-04 00:19:55 -05:00
getnameinfo.c
getpath.c bpo-34170: Add _PyCoreConfig._frozen parameter (GH-8591) 2018-08-01 02:13:04 +02:00
grpmodule.c bpo-34604: Fix possible mojibake in pwd.getpwnam() and grp.getgrnam() (GH-9098) 2018-09-07 19:10:39 +02:00
hashlib.h bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
hashtable.c Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
hashtable.h
itertoolsmodule.c bpo-20180: convert most of itertoolsmodule.c to use Argument Clinic (GH-9164) 2018-09-11 14:49:13 -07:00
ld_so_aix.in
main.c Revert "bpo-34589: Add -X coerce_c_locale command line option (GH-9378)" (GH-9430) 2018-09-19 14:56:36 -07:00
makesetup bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229) 2018-07-16 19:03:03 +02:00
makexp_aix
mathmodule.c bpo-33083 - Make math.factorial reject arguments that are not int-like (GH-6149) 2018-09-03 22:20:06 +01:00
md5module.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
mmapmodule.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
nismodule.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
ossaudiodev.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
overlapped.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
parsermodule.c bpo-33308: Fix a crash in the parser module when convert an ST object. (#6519) 2018-04-19 01:55:37 +03:00
posixmodule.c bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant to invalid paths. (#7695) 2018-09-18 11:28:51 +03:00
posixmodule.h bpo-33441: Make the sigset_t converter available in other modules. (GH-6720) 2018-05-08 07:48:50 +03:00
pwdmodule.c bpo-34604: Fix possible mojibake in pwd.getpwnam() and grp.getgrnam() (GH-9098) 2018-09-07 19:10:39 +02:00
pyexpat.c bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146) 2018-09-18 05:38:58 -07:00
readline.c bpo-13631: Fix the order of initialization for readline libedit on macOS. (GH-6915) 2018-05-17 02:45:10 -04:00
resource.c bpo-34674: Assume unistd.h exists on Unix. (GH-9290) 2018-09-13 21:57:31 -07:00
rotatingtree.c
rotatingtree.h bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
selectmodule.c bpo-29386: Pass -1 to epoll_wait() when timeout is < -1 (GH-9040) 2018-09-11 20:29:48 +03:00
sha1module.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
sha256module.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
sha512module.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
signalmodule.c bpo-34412: Make signal.strsignal() work on HP-UX (GH-8786) 2018-08-23 16:27:19 +03:00
socketmodule.c closes bpo-25041: Document AF_PACKET socket address format. (GH-4092) 2018-09-11 17:32:15 -07:00
socketmodule.h closes bpo-34555: Fix incorrectly nested test for HAVE_LINUX_VM_SOCKETS_H (GH-9016) 2018-09-01 15:13:57 -07:00
spwdmodule.c [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302) 2017-06-28 08:30:06 +03:00
sre.h bpo-25054, bpo-1647489: Added support of splitting on zerowidth patterns. (#4471) 2017-12-04 14:29:05 +02:00
sre_constants.h bpo-31690: Allow the inline flags "a", "L", and "u" to be used as group flags for RE. (#3885) 2017-10-24 23:31:42 +03:00
sre_lib.h bpo-25054, bpo-1647489: Added support of splitting on zerowidth patterns. (#4471) 2017-12-04 14:29:05 +02:00
symtablemodule.c Issue #20186: Converted the symtable module to Argument Clinic. 2017-02-04 12:13:20 +02:00
syslogmodule.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
termios.c bpo-32660: Solaris should support constants like termios' FIONREAD (#5328) 2018-01-28 14:00:48 +01:00
testcapi_long.h
timemodule.c bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418) 2018-09-21 09:09:48 +03:00
tkappinit.c
tkinter.h
unicodedata.c bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) 2018-06-15 20:03:14 +08:00
unicodedata_db.h update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) 2018-06-06 20:14:28 -07:00
unicodename_db.h update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) 2018-06-06 20:14:28 -07:00
winreparse.h
xxlimited.c bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111) 2018-05-26 10:51:58 +03:00
xxmodule.c bpo-31443: Formulate the type slot initialization rules in terms of C99. (#3688) 2017-09-22 17:44:58 +02:00
xxsubtype.c bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439) 2018-04-10 08:21:18 +03:00
zlibmodule.c bpo-25007: Add copy protocol support to zlib compressors and decompressors (GH-7940) 2018-06-27 21:04:51 +03:00

README

Source files for standard library extension modules,
and former extension modules that are now builtin modules.