cpython/Modules
Brandt Bucher 60463e8e4f
bpo-42536: GC track recycled tuples (GH-23623) (GH-23651)
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:07:48 +00:00
..
_blake2 bpo-40268: Remove explicit pythread.h includes (#19529) 2020-04-15 02:04:42 +02:00
_ctypes Add GCC pragmas to silence compiler warning about ffi_prep_closure (GH-23327) (GH-23590) 2020-12-01 15:07:50 +00:00
_decimal [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295) 2020-11-22 11:18:40 +01:00
_io bpo-40521: Add PyInterpreterState.unicode (GH-20081) 2020-05-14 01:48:38 +02:00
_multiprocessing bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
_sha3 bpo-40302: Replace PY_INT64_T with int64_t (GH-19573) 2020-04-17 19:13:06 +02:00
_sqlite bpo-41815: SQLite: segfault if backup called on closed database (GH-22322) 2020-09-21 15:05:17 -07:00
_ssl bpo-41056: Fix a NULL pointer dereference on MemoryError within the ssl module. (GH-21009) 2020-06-21 12:11:41 -07:00
_xxtestfuzz
cjkcodecs bpo-40328: Add tool for generating cjk mapping headers (GH-19602) 2020-04-30 02:34:24 +09:00
clinic [3.9] bpo-41052: Fix pickling heap types implemented in C with protocols 0 and 1 (GH-22870). (GH-22963) 2020-10-25 17:56:17 +02:00
expat
README
Setup bpo-40503: PEP 615: Tests and implementation for zoneinfo (GH-19909) 2020-05-16 10:20:06 +02:00
_abc.c bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264) 2020-05-28 08:12:23 -07:00
_asynciomodule.c bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-21401) 2020-07-08 12:47:20 -07:00
_bisectmodule.c bpo-40665: Use Argument Clinic for the bisect module (GH-20163) 2020-05-17 20:38:35 -07:00
_bz2module.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
_codecsmodule.c
_collectionsmodule.c bpo-40277: Add a repr() to namedtuple's _tuplegetter to aid with introspection (GH-19537) 2020-04-14 23:36:08 -07:00
_contextvarsmodule.c
_cryptmodule.c
_csv.c bpo-26407: Do not mask errors in csv. (GH-20536) 2020-06-22 01:40:54 -07:00
_curses_panel.c bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264) 2020-05-28 08:12:23 -07:00
_cursesmodule.c bpo-39465: Don't access directly _Py_Identifier members (GH-20043) 2020-05-12 01:43:38 +02:00
_datetimemodule.c [3.9] bpo-41867: List options for timespec in docstrings of isoformat methods (GH-22418) 2020-10-03 14:42:16 +03:00
_dbmmodule.c
_elementtree.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
_functoolsmodule.c bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
_gdbmmodule.c bpo-32494: Use gdbm_count for dbm_length if possible (GH-19814) 2020-05-01 14:15:35 +02:00
_hashopenssl.c [3.9] bpo-40791: Use CRYPTO_memcmp() for compare_digest (GH-20456) (GH-20461) 2020-05-28 05:09:38 -07:00
_heapqmodule.c
_json.c bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264) 2020-05-28 08:12:23 -07:00
_localemodule.c bpo-38324: Fix test__locale.py Windows failures (GH-20529) 2020-10-20 05:07:14 -07:00
_lsprof.c bpo-40429: PyFrame_GetCode() now returns a strong reference (GH-19773) 2020-04-29 01:28:13 +02:00
_lzmamodule.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
_math.c
_math.h
_opcode.c
_operator.c bpo-40791: Make compare_digest more constant-time. (GH-20444) 2020-11-21 01:18:41 -08:00
_peg_parser.c Refactor scripts in Tools/peg_generator/scripts (GH-20401) 2020-06-05 21:41:12 -07:00
_pickle.c bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458) 2020-07-13 06:09:27 -07:00
_posixsubprocess.c [3.9] bpo-42146: Fix memory leak in subprocess.Popen() in case of uid/gid overflow (GH-22966) (GH-22980) 2020-10-25 17:34:29 -07:00
_queuemodule.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
_randommodule.c [3.9] bpo-41052: Fix pickling heap types implemented in C with protocols 0 and 1 (GH-22870). (GH-22963) 2020-10-25 17:56:17 +02:00
_scproxy.c
_sre.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
_ssl.c bpo-42144: Add a missing "goto error;" in the _ssl module (GH-22959) 2020-10-25 11:23:09 -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 22:11:40 -05:00
_stat.c bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206) 2020-05-19 05:40:21 -07:00
_statisticsmodule.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
_struct.c bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264) 2020-05-28 08:12:23 -07:00
_testbuffer.c
_testcapimodule.c bpo-41984: GC track all user classes (GH-22701/GH-22702) 2020-10-14 20:38:25 -07:00
_testimportmultiple.c
_testinternalcapi.c bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21297) 2020-07-06 09:52:13 -07:00
_testmultiphase.c bpo-38787: Update structures.rst docs (PEP 573) (GH-19980) 2020-05-07 19:16:01 +02:00
_threadmodule.c bpo-40453: Add PyConfig._isolated_subinterpreter (GH-19820) 2020-05-01 11:33:44 +02:00
_tkinter.c Trivial typo fix in _tkinter.c (GH-19622) 2020-05-15 03:43:58 -07:00
_tracemalloc.c bpo-41995: Fix null ptr deref in tracemalloc_copy_trace() (GH-22660) 2020-10-13 00:09:08 -07:00
_uuidmodule.c bpo-40501: Replace ctypes code in uuid with native module (GH-19948) 2020-05-12 23:32:32 +01:00
_weakref.c
_winapi.c bpo-40453: Add PyConfig._isolated_subinterpreter (GH-19820) 2020-05-01 11:33:44 +02:00
_xxsubinterpretersmodule.c [3.9] bpo-40514: Remove --with-experimental-isolated-subinterpreters in 3.9 (GH-20228) 2020-05-20 00:27:46 +02:00
_zoneinfo.c bpo-41568: Fix refleaks in zoneinfo subclasses (GH-21907) 2020-08-17 16:24:15 -07:00
addrinfo.h
arraymodule.c bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071) 2020-06-23 06:41:24 -07:00
atexitmodule.c
audioop.c
binascii.c
cmathmodule.c
config.c.in
errnomodule.c bpo-1635741: Port errno module to multiphase initialization (GH-19923) 2020-05-07 10:17:16 +09:00
faulthandler.c bpo-40268: Remove explicit pythread.h includes (#19529) 2020-04-15 02:04:42 +02:00
fcntlmodule.c
gc_weakref.txt
gcmodule.c [3.9] bpo-40514: Remove --with-experimental-isolated-subinterpreters in 3.9 (GH-20228) 2020-05-20 00:27:46 +02:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295) 2020-11-22 11:18:40 +01:00
grpmodule.c
hashlib.h
itertoolsmodule.c bpo-42536: GC track recycled tuples (GH-23623) (GH-23651) 2020-12-07 20:07:48 +00:00
ld_so_aix.in
main.c [3.9] bpo-41602: raise SIGINT exit code on KeyboardInterrupt from pymain_run_module (GH-21956) (#22397) 2020-09-24 16:34:21 +02:00
makesetup
makexp_aix
mathmodule.c On path with known exact float, extract the double with the fast macro. (GH-21072) 2020-09-04 16:12:48 -07:00
md5module.c bpo-40865: Remove unused insint() macro from hash modules (GH-20627) 2020-06-04 13:27:23 -07:00
mmapmodule.c bpo-39481: remove generic classes from ipaddress/mmap (GH-20045) 2020-05-11 19:32:40 -07:00
nismodule.c
ossaudiodev.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
overlapped.c bpo-40150: Fix mismatched argument in RegisterWaitForSingleObject() call (GH-19686) 2020-07-15 12:25:59 -07:00
parsermodule.c
posixmodule.c [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295) 2020-11-22 11:18:40 +01:00
posixmodule.h
pwdmodule.c
pyexpat.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
readline.c
resource.c
rotatingtree.c
rotatingtree.h
selectmodule.c [3.9] bpo-31938: Fix default-value signatures of several functions in the select module (GH-21066) (GH-21097) 2020-06-23 15:19:46 -07:00
sha1module.c bpo-40865: Remove unused insint() macro from hash modules (GH-20627) 2020-06-04 13:27:23 -07:00
sha256module.c bpo-40865: Remove unused insint() macro from hash modules (GH-20627) 2020-06-04 13:27:23 -07:00
sha512module.c bpo-40865: Remove unused insint() macro from hash modules (GH-20627) 2020-06-04 13:27:23 -07:00
signalmodule.c bpo-41686: Always create the SIGINT event on Windows (GH-23344) (GH-23347) 2020-11-17 18:58:12 +01:00
socketmodule.c bpo-36020: Remove snprintf macro in pyerrors.h (GH-20889) 2020-06-15 13:20:10 -07:00
socketmodule.h bpo-40291: Add support for CAN_J1939 sockets (GH-19538) 2020-04-29 15:31:19 -07:00
spwdmodule.c
sre.h
sre_constants.h
sre_lib.h
symtablemodule.c
syslogmodule.c bpo-1635741: Port syslog module to multiphase initialization (GH-19907) 2020-05-05 10:49:46 +09:00
termios.c
testcapi_long.h
timemodule.c [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) (GH-23295) 2020-11-22 11:18:40 +01:00
tkappinit.c
tkinter.h
unicodedata.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
unicodedata_db.h
unicodename_db.h
winreparse.h
xxlimited.c bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264) 2020-05-28 08:12:23 -07:00
xxmodule.c
xxsubtype.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00
zlibmodule.c bpo-40268: Remove unused structmember.h includes (GH-19530) 2020-04-15 02:35:41 +02:00

README

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