cpython/Modules
Serhiy Storchaka ada5d99306
[3.6] bpo-33871: Fix os.sendfile(), os.writev(), os.readv(), etc. (GH-7931) (GH-8584)
* Fix integer overflow in os.readv(), os.writev() and in os.sendfile()
  with headers or trailers arguments (on BSD-based OSes and MacOS).

* Fix sending the part of the file in os.sendfile() on MacOS.
  Using the trailers argument could cause sending more bytes from
  the input file than was specified.

Thanks Ned Deily for testing on 32-bit MacOS.
(cherry picked from commit 9d5727326a)
2018-07-31 12:58:58 +03:00
..
_blake2 bpo-31933: fix blake2 multi-byte params on big endian platforms (GH-4250) (#4262) 2017-11-03 20:55:54 +01:00
_ctypes bpo-16865: Support arrays >=2GB in ctypes. (GH-3006) 2018-05-14 22:55:52 -07:00
_decimal [3.6] bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0 (#3518) 2017-09-12 16:09:44 -07:00
_io bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. (GH-7911) 2018-07-29 10:32:30 +01:00
_multiprocessing require a long long data type (closes #27961) 2016-09-05 17:44:18 -07:00
_sha3 Don't define PY_WITH_KECCAK 2016-09-21 14:36:44 +02:00
_sqlite [3.6] prefix internal sqlite symbols with _pysqlite_ (GH-8215). (GH-8218) 2018-07-09 22:36:41 -07:00
cjkcodecs [3.6] bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0 (#3518) 2017-09-12 16:09:44 -07:00
clinic [3.6] bpo-33383: Fix crash in get() of the dbm.ndbm database object. (GH-6630). (GH-6633) 2018-04-29 15:44:16 +03:00
expat bpo-33956: update vendored expat to 2.2.5 (GH-7925) 2018-06-26 19:48:17 -07:00
zlib - Issue #29169: Update zlib to 1.2.10. 2017-01-31 13:49:48 +01:00
_asynciomodule.c Make TaskStepMethWrapper_Type and TaskWakeupMethWrapper_Type static. (GH-8127) 2018-07-05 23:02:55 -07:00
_bisectmodule.c The return type of a rich comparison is an int 2016-02-14 01:41:35 -08:00
_bz2module.c bpo-33916: Fix bz2 and lzma init when called twice (GH-7843) (GH-7872) 2018-06-23 15:06:11 +02:00
_codecsmodule.c Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) 2016-09-08 10:35:16 -07:00
_collectionsmodule.c bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) (GH-7269) 2018-05-31 09:10:28 +03:00
_cryptmodule.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
_csv.c bpo-32255: Always quote a single empty field when write into a CSV file. (GH-4769) (#4810) 2017-12-12 12:56:40 +02:00
_curses_panel.c Issue #25745: Fixed leaking a userptr in curses panel destructor. 2016-05-09 00:14:22 +03:00
_cursesmodule.c correct the typos (GH-4950) (#4951) 2017-12-21 07:43:11 +02:00
_datetimemodule.c [3.6] bpo-29097: Forego fold detection on windows for low timestamp values (GH-2385) (GH-8498) 2018-07-27 10:59:27 -04:00
_dbmmodule.c [3.6] bpo-33383: Fix crash in get() of the dbm.ndbm database object. (GH-6630). (GH-6633) 2018-04-29 15:44:16 +03:00
_elementtree.c [3.6] bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of Element.text and Element.tail (GH-3924) (#3945) 2017-10-11 00:51:28 +03:00
_functoolsmodule.c bpo-31095: fix potential crash during GC (GH-3195) 2017-09-04 12:31:09 +09:00
_gdbmmodule.c [3.6] bpo-32922: dbm.open() now encodes filename with the filesystem encoding. (GH-5832). (GH-5906) 2018-02-27 03:39:53 +02:00
_hashopenssl.c bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 22:15:24 +09:00
_heapqmodule.c Issue #15984: Merge PyUnicode doc from 3.5 2016-04-15 02:27:11 +00:00
_json.c [3.6] bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() received a bad encoder() argument. (GH-3643) (#3777) 2017-09-27 08:21:47 +03:00
_localemodule.c [3.6] bpo-31900: Fix localeconv() encoding for LC_NUMERIC (#4174) (#5192) 2018-01-15 23:23:47 +01:00
_lsprof.c Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 2016-11-16 10:19:20 +02:00
_lzmamodule.c bpo-33916: Fix bz2 and lzma init when called twice (GH-7843) (GH-7872) 2018-06-23 15:06:11 +02:00
_math.c Fix typo. 2014-10-28 22:24:46 +01:00
_math.h
_opcode.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
_operator.c Issue #27809: methodcaller_reduce() uses fast call 2016-08-23 00:23:23 +02:00
_pickle.c bpo-33209: End framing at the end of C implementation of pickle.Pickler.dump(). (GH-6363) 2018-04-03 15:05:11 -07:00
_posixsubprocess.c bpo-32844: Fix a subprocess misredirection of a low fd (GH5689) 2018-03-26 13:43:46 -07:00
_randommodule.c [3.6] bpo-31478: Fix an assertion failure in random.seed() in case a seed has a bad __abs__() method. (GH-3596) (#3794) 2017-09-28 12:17:51 +03:00
_scproxy.c Eliminate a tautological-pointer-compare warning found by Clang. 2016-09-07 14:07:16 -07:00
_sre.c Issue #29444: Fixed out-of-bounds buffer access in the group() method of 2017-02-04 22:55:40 +02:00
_ssl.c [3.6] bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210) (GH-6214) 2018-03-24 18:38:14 +01:00
_ssl_data.h Issue #23248: Update ssl error codes from latest OpenSSL git master. 2015-01-18 17:39:32 +01:00
_stat.c Issue #21741: Add st_file_attributes to os.stat_result on Windows. 2014-06-19 09:46:37 -05:00
_struct.c [3.6] bpo-30246: fix several error messages which only mention bytes in struct (#3561) 2017-09-14 11:22:23 +08:00
_testbuffer.c Make various internal _testbuffer symbols static. (GH-8160) 2018-07-07 11:40:23 -07:00
_testcapimodule.c Don't export pending_threadfunc from _testcapi. (GH-8075) 2018-07-03 23:00:13 -07:00
_testimportmultiple.c Remove compile warnings for _testimportmodule 2012-12-15 18:16:47 +02:00
_testmultiphase.c Make two PyModuleDef_Slot symbols static in _testmultiphase. (GH-8147) 2018-07-06 21:32:54 -07:00
_threadmodule.c [3.6] bpo-31806: Use _PyTime_ROUND_TIMEOUT for the timeout argument parsing in more functions (GH-4026) (#4032) 2017-10-18 12:09:57 +03:00
_tkinter.c [3.6] bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and split() (GH-3866) (#3874) 2017-10-03 23:50:46 +03:00
_tracemalloc.c [3.6] bpo-31018: Switch to GH-pragma pack from __declspec(align) (GH-2848) (#2868) 2017-07-25 19:20:38 +02:00
_weakref.c Issue #28427: old keys should not remove new values from 2016-12-27 14:19:20 +01:00
_winapi.c [3.6] bpo-31471: Fix assertion failure in subprocess.Popen() on Windows, in case env has a bad keys() method. (GH-3580) (#3584) 2017-09-14 22:56:31 +03:00
addrinfo.h replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
ar_beos
arraymodule.c bpo-32020: arraymodule: Correct missing Py_DECREF in failure case of make_array() (GH-4391) (#4392) 2017-11-14 09:01:29 +02:00
atexitmodule.c [3.6] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) (#2121) 2017-06-12 09:02:13 +03:00
audioop.c bpo-33781: audioop: enhance rounding double as int (GH-7447) (GH-7451) 2018-06-06 17:18:27 +02:00
binascii.c Issue #29004: Merge crc_hqx() doc from 3.5 2016-12-24 07:44:03 +00:00
cmathmodule.c Issue 23229: add cmath.inf, cmath.nan, cmath.infj and cmath.nanj. 2016-08-29 13:56:58 +01:00
config.c.in PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
errnomodule.c
faulthandler.c [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02:00
fcntlmodule.c Issue #28139: Fix messed up indentation 2016-09-17 03:26:16 +00:00
fpectlmodule.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
fpetestmodule.c
gc_weakref.txt
gcmodule.c [3.6] bpo-33622: Fix issues with handling errors in the GC. (GH-7078) (GH-7095) 2018-05-24 16:05:38 +03:00
getaddrinfo.c Issue #26505: merge from 3.5 2016-03-07 14:52:46 -05:00
getbuildinfo.c [3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454) 2017-03-04 01:05:06 -05:00
getnameinfo.c
getpath.c [3.6] closes bpo-31532: Fix memory corruption due to allocator mix (GH-3679) (#3681) 2017-09-20 23:47:12 -07:00
grpmodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
hashlib.h Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. 2016-09-06 22:03:25 +02:00
hashtable.c Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy(). 2016-09-13 20:22:02 +02:00
hashtable.h Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize memcpy(). 2016-09-13 20:22:02 +02:00
itertoolsmodule.c [3.6] bpo-30347: Stop crashes when concurrently iterate over itertools.groupby() iterators. (GH-1557) (#3770) 2017-09-26 22:20:22 +03:00
ld_so_aix.in Issue #10656: Fix out-of-tree building on AIX 2016-11-20 07:56:37 +00:00
ld_so_beos
main.c bpo-17232: Clarify docs for -O and -OO command line options (GH-5839) 2018-02-24 19:46:16 -08:00
makesetup generate spaces instead of tabs into config.c 2017-01-16 00:05:12 -08:00
makexp_aix
mathmodule.c Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
md5module.c [3.6] bpo-32746: Fix multiple typos (GH-5144) (GH-5522) 2018-02-03 21:00:24 -05:00
mmapmodule.c bpo-33767: Fix improper use of SystemError by mmap.mmap objects (GH-7381) 2018-06-05 06:25:21 -07:00
nismodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
ossaudiodev.c Issue #28715: Added error checks for PyUnicode_AsUTF8(). 2016-11-20 08:48:07 +02:00
overlapped.c [3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (GH-2285) (#2443) 2017-06-27 21:08:58 +03:00
parsermodule.c bpo-33308: Fix a crash in the parser module when convert an ST object. (GH-6519) 2018-04-18 22:11:05 -07:00
posixmodule.c [3.6] bpo-33871: Fix os.sendfile(), os.writev(), os.readv(), etc. (GH-7931) (GH-8584) 2018-07-31 12:58:58 +03:00
posixmodule.h Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:24:16 +02:00
pwdmodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
pyexpat.c bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164) (#2200) 2017-06-15 01:26:16 +02:00
readline.c [3.6] bpo-29854: Fix segfault in call_readline() (GH-728) 2017-07-08 21:51:21 +03:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
resource.c Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that 2016-12-19 08:05:39 +02:00
rotatingtree.c
rotatingtree.h
selectmodule.c [3.6] bpo-32568: make select.epoll() and its docs consistent (GH-7840) (GH-8025) 2018-06-30 16:15:53 +03:00
Setup.config.in remove --with(out)-signal-module, since the signal module is non-optional 2016-09-09 12:01:10 -07:00
Setup.dist [3.6] Add missing _sha3 module to Setup.dist (GH-2395) (#3280) 2017-09-04 10:08:35 -07:00
sha1module.c replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
sha256module.c Issue #27332: Fixed the type of the first argument of module-level functions 2016-07-07 17:35:15 +03:00
sha512module.c stop using Py_LL and Py_ULL 2016-09-18 18:12:21 -07:00
signalmodule.c bpo-30654: Do not reset SIGINT handler to SIG_DFL in finisignal (GH-7146) (GH-7307) 2018-06-01 13:12:11 +02:00
socketmodule.c bpo-32282: Remove unnecessary check for VersionHelpers.h in socketmodule.c on Windows (GH-5120) 2018-05-18 20:38:19 +03:00
socketmodule.h [3.6] bpo-31927: Fix bugs in socketmodule.c on NetBSD and other issues. (GH-4235) (#4352) 2017-11-09 21:40:29 +02:00
spwdmodule.c [3.6] bpo-13617: Reject embedded null characters in wchar* strings. (GH-2302) (#2462) 2017-06-28 09:27:35 +03:00
sre.h Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. 2014-10-31 12:36:56 +02:00
sre_constants.h Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. 2014-10-31 12:36:56 +02:00
sre_lib.h replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
symtablemodule.c Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
syslogmodule.c Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 2016-11-20 09:13:07 +02:00
termios.c
testcapi_long.h
timemodule.c [3.6] bpo-31806: Use _PyTime_ROUND_TIMEOUT for the timeout argument parsing in more functions (GH-4026) (#4032) 2017-10-18 12:09:57 +03:00
tkappinit.c Issue #4350: Removed a number of out-of-dated and non-working for a long time 2014-07-23 22:33:50 +03:00
tkinter.h Issue #16840. Turn off bignum support in tkinter with with Tcl earlier than 8.5.8 2015-04-22 10:59:32 +03:00
unicodedata.c bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) 2018-06-15 05:32:50 -07:00
unicodedata_db.h Unicode 9.0.0 2016-09-14 23:53:47 -07:00
unicodename_db.h Unicode 9.0.0 2016-09-14 23:53:47 -07:00
winreparse.h Issue #17599: Use unique _Py_REPARSE_DATA_BUFFER etc names to avoid conflict 2016-08-04 02:38:59 +00:00
xxlimited.c bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111) (GH-7125) 2018-05-26 13:17:08 +03:00
xxmodule.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
xxsubtype.c bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439) 2018-04-09 23:07:14 -07:00
zipimport.c [3.6] bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() (GH-3226) (#3243) 2017-08-30 14:08:39 +03:00
zlibmodule.c bpo-32969: Expose some missing constants in zlib and fix the doc (GH-5988) 2018-03-06 21:46:10 -08:00

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