cpython/Modules
Brandt Bucher 7c79798238
bpo-42536: GC track recycled tuples (GH-23623) (GH-23652)
Several built-in and standard library types now ensure that their internal result tuples are always tracked by the garbage collector:

- collections.OrderedDict.items
- dict.items
- enumerate
- functools.reduce
- itertools.combinations
- itertools.combinations_with_replacement
- itertools.permutations
- itertools.product
- itertools.zip_longest
- zip

Previously, they could have become untracked by a prior garbage collection.
(cherry picked from commit 226a012d1c)
2020-12-07 20:08:24 +00:00
..
_blake2 [3.8] bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593). (GH-15599) 2019-08-29 18:29:59 +03:00
_ctypes bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394) 2020-10-19 15:29:37 -07:00
_decimal [3.8] bpo-41302: Support system libmpdec 2.5 for Python 3.8 (GH-21488) 2020-07-15 22:22:23 +02:00
_io closes bpo-39605: Fix some casts to not cast away const. (GH-18453) 2020-02-11 18:47:20 -08:00
_multiprocessing [3.8] bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593). (GH-15599) 2019-08-29 18:29:59 +03:00
_sha3 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
_sqlite bpo-41662: Fix bugs in binding parameters in sqlite3 (GH-21998) 2020-10-26 14:46:10 +09:00
_ssl bpo-41056: Fix a NULL pointer dereference on MemoryError within the ssl module. (GH-21009) 2020-06-21 12:11:29 -07:00
_xxtestfuzz [3.8] Fix typos in docs, comments and test assert messages (GH-14872). (#14900) 2019-07-21 22:48:45 -04:00
cjkcodecs [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
clinic [3.8] bpo-31938: Fix default-value signatures of several functions in the select module (GH-21066) (GH-21098) 2020-06-23 15:17:02 -07:00
expat bpo-37731: Reorder includes in xmltok.c to avoid redefinition of _POSIX_C_SOURCE (GH-16733) 2019-10-12 12:32:48 -07:00
README
Setup bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266) (GH-15441) 2019-08-23 15:39:27 -07:00
_abc.c Fix some typos (GH-14435) 2019-07-05 15:00:43 -07:00
_asynciomodule.c bpo-41247: asyncio.set_running_loop() cache running loop holder (#21406) 2020-07-09 10:38:46 -07:00
_bisectmodule.c bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) 2018-11-27 13:27:31 +02:00
_bz2module.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
_codecsmodule.c [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
_collectionsmodule.c bpo-39590: make deque.__contains__ and deque.count hold strong references (GH-18421) (GH-18423) 2020-02-09 00:39:28 -08:00
_contextvarsmodule.c bpo-38823: Clean up refleaks in _contextvars initialization. (GH-17198) 2019-11-16 16:16:33 -08:00
_cryptmodule.c bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373) 2018-12-30 15:42:32 -08:00
_csv.c [3.8] bpo-37994: Fix silencing all errors if an attribute lookup fails. (GH-15630) (GH-15635) 2019-09-01 14:01:05 +03:00
_curses_panel.c bpo-35810: Incref heap-allocated types in PyObject_Init (GH-11661) 2019-03-27 12:52:18 +01:00
_cursesmodule.c [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
_datetimemodule.c bpo-41867: List options for timespec in docstrings of isoformat methods (GH-22418) 2020-10-03 04:01:41 -07:00
_dbmmodule.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
_elementtree.c bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object (GH-3997) (GH-19485) 2020-04-12 17:18:57 +02:00
_functoolsmodule.c bpo-42536: GC track recycled tuples (GH-23623) (GH-23652) 2020-12-07 20:08:24 +00:00
_gdbmmodule.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
_hashopenssl.c [3.8] bpo-40515: Require OPENSSL_THREADS (GH-19953) (GH-20119) 2020-05-15 22:36:51 +02:00
_heapqmodule.c bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118) 2020-01-23 07:22:25 -08:00
_json.c bpo-37587: Make json.loads faster for long strings (GH-14752) 2019-07-30 07:37:28 -07:00
_localemodule.c bpo-38324: Fix test__locale.py Windows failures (GH-20529) 2020-10-20 04:58:06 -07:00
_lsprof.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
_lzmamodule.c bpo-21872: fix lzma library decompresses data incompletely (GH-14048) 2019-09-12 07:41:11 -07:00
_math.c Issue #28256: Cleanup _math.c 2016-10-18 16:29:27 +02:00
_math.h Issue #28256: Cleanup _math.c 2016-10-18 16:29:27 +02:00
_opcode.c bpo-32455: Add jump parameter to dis.stack_effect(). (GH-6610) 2018-09-18 09:54:26 +03:00
_operator.c bpo-40791: Make compare_digest more constant-time. (GH-20444) 2020-11-21 01:12:21 -08:00
_pickle.c bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458) 2020-07-13 06:05:44 -07:00
_posixsubprocess.c bpo-37951: Lift subprocess's fork() restriction (GH-15544) 2019-08-27 14:56:27 -07:00
_queuemodule.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
_randommodule.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07: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 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
_ssl.c bpo-42144: Add a missing "goto error;" in the _ssl module (GH-22959) 2020-10-25 11:21:35 -07:00
_ssl_data.h closes bpo-40266, closes bpo-39953: Use numeric lib code if compiling against old OpenSSL. (GH-19506) 2020-04-13 20:31:18 -07:00
_stat.c bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206) 2020-05-19 05:39:06 -07:00
_statisticsmodule.c bpo-37798: Prevent undefined behavior in direct calls to the C helper function. (GH-16149) (GH-16160) 2019-09-15 10:04:00 -07:00
_struct.c [3.8] bpo-35714: Reject null characters in struct format strings (GH-16928) (GH-20419) 2020-05-26 11:57:09 +03:00
_testbuffer.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
_testcapimodule.c bpo-41984: GC track all user classes (GH-22701/GH-22707) 2020-10-15 08:51:48 -07:00
_testimportmultiple.c
_testinternalcapi.c bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21297) (GH-21352) 2020-07-06 19:12:16 +02:00
_testmultiphase.c bpo-32388: Remove cross-version binary compatibility requirement in tp_flags (GH-4944) 2019-05-29 22:12:38 +02:00
_threadmodule.c [3.8] bpo-37994: Fix silencing all errors if an attribute lookup fails. (GH-15630) (GH-15635) 2019-09-01 14:01:05 +03:00
_tkinter.c bpo-38823: Clean up refleaks in _tkinter initialization. (GH-17206) 2019-11-18 07:10:31 -08:00
_tracemalloc.c bpo-38823: Fix refleak in _tracemalloc init error handling (GH-17235) 2019-11-20 02:26:48 -08:00
_uuidmodule.c bpo-32627: Fix compile error when conflicting `_uuid` headers included (GH-11751) 2019-06-24 11:27:57 -07:00
_weakref.c bpo-32150: Expand tabs to spaces in C files. (#4583) 2017-11-28 17:56:10 +02:00
_winapi.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
_xxsubinterpretersmodule.c closes bpo-39262: Use specific out-of-memory message in _sharedexception_bind. (GH-17908) 2020-01-08 19:07:38 -08:00
addrinfo.h replace PY_LONG_LONG with long long 2016-09-06 10:46:49 -07:00
arraymodule.c bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071) 2020-06-23 06:40:47 -07:00
atexitmodule.c bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) 2018-11-27 13:27:31 +02:00
audioop.c bpo-33781: audioop: enhance rounding double as int (GH-7447) 2018-06-06 15:50:50 +02:00
binascii.c bpo-22385: Support output separators in hex methods. (#13578) 2019-05-29 11:46:58 -07:00
cmathmodule.c [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
config.c.in rename _imp initialization function to follow conventions (#5432) 2018-01-29 11:33:57 -08:00
errnomodule.c
faulthandler.c bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (GH-17467) 2019-12-04 12:30:31 -08:00
fcntlmodule.c bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal`, `syslog` (GH-18407) 2020-02-13 08:30:27 +00:00
gc_weakref.txt
gcmodule.c [3.8] bpo-36389: Backport debug enhancements from master (GH-16796) 2019-10-15 03:06:16 +02: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 [3.8] bpo-38234: Backport init path config changes from master (GH-16423) 2019-09-26 16:17:34 +02:00
grpmodule.c bpo-34604: Use %R because of invisible characters or trailing whitespaces. (GH-9165) 2018-12-05 21:10:18 +02:00
hashlib.h bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
hashtable.c bpo-36594: Fix incorrect use of %p in format strings (GH-12769) 2019-05-06 12:56:50 -04: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 bpo-42536: GC track recycled tuples (GH-23623) (GH-23652) 2020-12-07 20:08:24 +00:00
ld_so_aix.in Issue #10656: Fix out-of-tree building on AIX 2016-11-20 07:56:37 +00:00
main.c [3.8] bpo-41602: raise SIGINT exit code on KeyboardInterrupt from pymain_run_module (GH-21956) (#22398) 2020-09-24 18:44:14 +02:00
makesetup closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712) 2018-11-26 20:21:31 -06:00
makexp_aix
mathmodule.c [3.8] bpo-39871: Fix possible SystemError in atan2, copysign and remainder (GH-18806) (GH-18989) 2020-03-14 11:38:52 +00:00
md5module.c closes bpo-39621: Make buf arg to md5_compress be const. (GH-18497) 2020-02-12 21:12:53 -08:00
mmapmodule.c [3.8] bpo-38168: Fix a possbile refleak in setint() of mmapmodule.c (GH-16136) (GH-16174) 2019-09-15 23:26:57 -07:00
nismodule.c bpo-35356: Fix a possible reference leak in nis.maps(). (GH-10808) 2018-11-30 09:40:16 +02:00
ossaudiodev.c bpo-39582: ossaudiodev module update helpers signature for ioctl calls. (GH-18412) 2020-03-14 07:43:53 -07:00
overlapped.c bpo-40150: Fix mismatched argument in RegisterWaitForSingleObject() call (GH-19686) 2020-07-15 12:25:49 -07:00
parsermodule.c bpo-37253: Add _PyCompilerFlags_INIT macro (GH-14018) 2019-06-12 17:36:03 -07:00
posixmodule.c [3.8] bpo-42237: Fix os.sendfile() on illumos (GH-23154). (GH-23246) 2020-11-12 14:23:48 +02: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: Use %R because of invisible characters or trailing whitespaces. (GH-9165) 2018-12-05 21:10:18 +02:00
pyexpat.c [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
readline.c bpo-38634: Allow non-apple build to cope with libedit (GH-16986) 2019-12-04 08:21:16 -08:00
resource.c bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal`, `syslog` (GH-18407) 2020-02-13 08:30:27 +00: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 [3.8] bpo-31938: Fix default-value signatures of several functions in the select module (GH-21066) (GH-21098) 2020-06-23 15:17:02 -07:00
sha1module.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
sha256module.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
sha512module.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
signalmodule.c bpo-41686: Always create the SIGINT event on Windows (GH-23344) (GH-23347) (GH-23349) 2020-11-17 22:23:18 +01:00
socketmodule.c bpo-40121: Fixes audit event raised on creating a new socket (GH-19238) 2020-03-31 04:57:06 -07:00
socketmodule.h bpo-31425: Expose AF_QIPCRTR in socket module (GH-3706) 2018-09-26 16:47:52 +03: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-34294: re module, fix wrong capturing groups in rare cases. (GH-11546) 2019-02-18 15:26:37 +02:00
symtablemodule.c bpo-37253: Add _PyCompilerFlags_INIT macro (GH-14018) 2019-06-12 17:36:03 -07:00
syslogmodule.c bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal`, `syslog` (GH-18407) 2020-02-13 08:30:27 +00:00
termios.c Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
testcapi_long.h
timemodule.c [3.8] bpo-35455: Fix thread_time for Solaris OS (GH-11118). (GH-23145) 2020-11-04 14:19:17 +00:00
tkappinit.c
tkinter.h
unicodedata.c closes bpo-37966: Fully implement the UAX GH-15 quick-check algorithm. (GH-15558) 2019-09-03 20:03:37 -07:00
unicodedata_db.h closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214) 2019-05-08 20:59:35 -07:00
unicodename_db.h closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214) 2019-05-08 20:59:35 -07:00
winreparse.h bpo-31512: Add non-elevated symlink support for Windows (GH-3652) 2019-04-09 11:19:46 -07:00
xxlimited.c bpo-32388: Remove cross-version binary compatibility requirement in tp_flags (GH-4944) 2019-05-29 22:12:38 +02:00
xxmodule.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
xxsubtype.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
zlibmodule.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00

README

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