cpython/Modules
Miss Islington (bot) 3d89ac2f4c
[3.10] gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK (GH-97944) (#97967)
The macOS 13 SDK includes support for the `mkfifoat` and `mknodat` system calls.
 Using the `dir_fd` option with either `os.mkfifo` or `os.mknod` could result in a
 segfault if cpython is built with the macOS 13 SDK but run on an earlier
 version of macOS. Prevent this by adding runtime support for detection of
 these system calls ("weaklinking") as is done for other newer syscalls on
 macOS.
(cherry picked from commit 6d0a0191a4)

Co-authored-by: Ned Deily <nad@python.org>
2022-10-06 12:14:16 -07:00
..
_blake2 bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792) 2021-05-02 09:47:45 +02:00
_ctypes [3.10] gh-91118: Fix docstrings that do not honor --without-doc-strings (GH-31769) (#91662) 2022-04-19 13:01:09 -07:00
_decimal bpo-45332: Fix broken Decimal test and benchmark (GH-28680) 2021-10-01 07:16:37 -07:00
_io Fix typo in _io.TextIOWrapper Clinic input (GH-94037) (GH-94117) 2022-06-22 14:22:46 +02:00
_multiprocessing GH-94736: Fix _multiprocessing.SemLock subclassing (GH-94738) 2022-07-11 05:39:09 -07:00
_sha3 bpo-36515: Disable unaligned memory access in _sha3 on ARM (GH-25927) 2021-05-05 15:05:22 -07:00
_sqlite [3.10] gh-94321: Document sqlite3.PrepareProtocol (GH-94620) (#94671) 2022-07-08 01:44:09 +02:00
_ssl bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792) 2021-05-02 09:47:45 +02:00
_xxtestfuzz Fix typo in fuzzer.c (GH-25013) 2021-03-25 00:47:21 +09:00
cjkcodecs bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) (GH-26766) 2021-06-17 11:19:44 +01:00
clinic [3.10] gh-97728: Argument Clinic: Fix uninitialized variable in the Py_UNICODE converter (GH-97729) (GH-97760) 2022-10-03 16:59:21 +03:00
expat gh-97005: Update libexpat from 2.4.7 to 2.4.9 (gh-97006) 2022-09-22 06:01:08 -07:00
_abc.c bpo-43977: Properly update the tp_flags of existing subclasses when their parents are registered (GH-26864) 2021-06-25 08:46:23 -07:00
_asynciomodule.c GH-97592: Fix crash in C remove_done_callback due to evil code (GH-97660) 2022-09-30 13:28:27 -07:00
_bisectmodule.c gh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849) (#93321) 2022-05-28 13:48:25 -05:00
_bz2module.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) (GH-26766) 2021-06-17 11:19:44 +01:00
_codecsmodule.c [3.10] bpo-45467: Fix IncrementalDecoder and StreamReader in the "raw-unicode-escape" codec (GH-28944) (GH-28952) 2021-10-14 21:23:39 +03:00
_collectionsmodule.c bpo-41621: Document defaultdict's default_factory parameter (GH-21945) 2021-06-23 10:58:20 -04:00
_contextvarsmodule.c bpo-1635741: _contextvars uses PyModule_AddType() (GH-23147) 2020-11-04 16:33:55 +01:00
_cryptmodule.c closes bpo-44751: Move crypt.h include from public header to _cryptmodule (GH-27394) (GH-28636) 2021-09-30 01:02:11 +02:00
_csv.c [3.10] bpo-20028: Keep original exception when PyUnicode_GetLength return -1 (GH-28832) (GH-28834) 2021-10-10 01:13:21 +09:00
_curses_panel.c bpo-43916: Add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag (GH-25721) 2021-04-30 12:46:15 +02:00
_cursesmodule.c GH-94644: fix test_curses ref leak (GH-94647) 2022-07-07 04:41:06 -07:00
_datetimemodule.c gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642) 2022-08-04 06:15:01 -07:00
_dbmmodule.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) (GH-26766) 2021-06-17 11:19:44 +01:00
_elementtree.c bpo-45948: Remove constructor discrepancy in C version of ElementTree.XMLParser (GH-31152) 2022-02-12 00:50:11 -08:00
_functoolsmodule.c gh-96641: Do not expose KeyWrapper in _functoolsmodule.c (gh-96642) 2022-09-07 04:50:15 -07:00
_gdbmmodule.c [3.10] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28092) 2021-09-03 21:13:00 -04:00
_hashopenssl.c DOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94090) 2022-06-22 10:48:14 +02:00
_heapqmodule.c
_json.c [3.10] Remove trailing spaces (GH-28709) 2021-10-03 20:03:49 +03:00
_localemodule.c bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) 2020-12-01 09:56:42 +01:00
_lsprof.c GH-95045: gc untrack _lsprof.Profiler before deallocating it (GH-95315) 2022-07-27 05:28:26 -07:00
_lzmamodule.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) (GH-26766) 2021-06-17 11:19:44 +01:00
_math.c [3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511) 2021-09-22 01:33:59 +02:00
_math.h
_opcode.c
_operator.c DOC: correct bytesarray -> bytearray in comments (GH-92410) (GH-94090) 2022-06-22 10:48:14 +02:00
_pickle.c [3.10] GH-89988: Fix memory leak in pickle.Pickler dispatch_table lookup (GH-94298) (#94385) 2022-06-28 17:14:47 +01:00
_posixsubprocess.c [3.10] gh-91401: Conservative backport of subprocess._USE_VFORK (#91932) 2022-05-01 16:09:50 -07:00
_queuemodule.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) (GH-26766) 2021-06-17 11:19:44 +01:00
_randommodule.c Eliminate duplicated assignment in _randommodule.c (GH-25904) (GH-25909) 2021-05-04 21:39:09 -07:00
_scproxy.c
_sre.c bpo-23691: Protect the re.finditer() iterator from re-entering (GH-32012) 2022-03-21 04:30:58 -07:00
_ssl.c gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (GH-95096) 2022-07-21 12:10:53 -07:00
_ssl.h bpo-18233: Add internal methods to access peer chain (GH-25467) 2021-04-26 15:01:40 +02:00
_ssl_data.h
_ssl_data_111.h bpo-43788: Generate version specific _ssl_data.h (GH-25300) 2021-04-09 08:02:00 -07:00
_ssl_data_300.h bpo-43788: Generate version specific _ssl_data.h (GH-25300) 2021-04-09 08:02:00 -07:00
_stat.c
_statisticsmodule.c
_struct.c GH-94254: Make _struct module types immutable (GH-94269) 2022-06-26 03:45:00 -07:00
_testbuffer.c bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) 2020-12-01 10:37:39 +01:00
_testcapimodule.c gh-96821: Fix undefined behaviour in _testcapimodule.c (GH-96915) (GH-96926) 2022-09-19 18:20:23 +08:00
_testimportmultiple.c
_testinternalcapi.c Fix NULL test in _testinternalcapi (GH-92861) 2022-05-16 18:54:47 -07:00
_testmultiphase.c [3.10] bpo-46433: _PyType_GetModuleByDef: handle static types in MRO (GH-30696) (GH-31262) 2022-02-11 12:25:25 +01:00
_threadmodule.c [3.10] Fix typos in the Modules directory (GH-28761) (GH-28781) 2021-10-07 01:55:18 -07:00
_tkinter.c [3.10] Fix typos in the Modules directory (GH-28761) (GH-28781) 2021-10-07 01:55:18 -07:00
_tracemalloc.c bpo-46280: Fix tracemalloc_copy_domain() (GH-30591) 2022-01-13 20:32:40 -08:00
_uuidmodule.c
_weakref.c
_winapi.c bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-93674) 2022-06-10 17:36:02 +01:00
_xxsubinterpretersmodule.c bpo-43916: Add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag (GH-25721) 2021-04-30 12:46:15 +02:00
_zoneinfo.c bpo-46383: Fix signature of zoneinfo module_free function (GH-30607) (GH-30610) 2022-01-17 14:47:51 +01:00
addrinfo.h
arraymodule.c [3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511) 2021-09-22 01:33:59 +02:00
atexitmodule.c fixes gh-96292: Fix Trivial Typo in cpython/Modules/atexitmodule.c (GH-96327) 2022-08-26 22:53:47 -07:00
audioop.c [3.10] bpo-46513: Remove AC_C_CHAR_UNSIGNED / __CHAR_UNSIGNED__ (GH-30851) (GH-30914) 2022-01-26 12:20:31 +01:00
binascii.c [3.10] bpo-38256: Fix binascii.crc32 large input. (GH-32000) (GH-32013) 2022-03-20 14:46:52 -07:00
cmathmodule.c
config.c.in
errnomodule.c
faulthandler.c gh-96652: Fix faulthandler chained signal without sigaction() (GH-96666) 2022-09-08 03:43:24 -07:00
fcntlmodule.c bpo-41586: Add pipesize parameter to subprocess & F_GETPIPE_SZ and F_SETPIPE_SZ to fcntl. (GH-21921) 2020-10-19 16:30:02 -07:00
gc_weakref.txt [3.10] Fix typos in the Modules directory (GH-28761) (GH-28781) 2021-10-07 01:55:18 -07:00
gcmodule.c gh-92036: Fix gc_fini_untrack() (GH-92037) 2022-05-04 03:23:29 -07:00
getaddrinfo.c
getbuildinfo.c bpo-45532: Replace 'default' with 'main' as default in sys.version (GH-29100) 2021-10-20 10:41:35 -07:00
getnameinfo.c gh-84461: Silence some compiler warnings on WASM (GH-93978) (#94025) 2022-06-20 16:09:55 +02:00
getpath.c [3.10] Fix typos in the Modules directory (GH-28761) (GH-28781) 2021-10-07 01:55:18 -07:00
grpmodule.c bpo-1635741: Port grp and pwd to multiphase initialization (GH-23360) 2020-11-18 23:47:32 -08:00
hashlib.h hashlib: Fix old message about unicode objects. (GH-28653) 2021-10-01 05:58:37 -07:00
itertoolsmodule.c [3.10] bpo-46728: fix docstring of combinations_with_replacement for consistency (GH-31293) (GH-31350) 2022-02-15 19:24:04 +09:00
ld_so_aix.in
main.c Typo in comment (GH-24199) 2021-01-25 14:51:48 -08:00
makesetup bpo-45571: use PY_CFLAGS_NODIST for shared Modules/Setup (GH-29161) 2021-10-22 11:22:01 -07:00
makexp_aix bpo-42087: Remove support for AIX 5.3 and below (GH-22830) 2020-11-16 16:16:10 +01:00
mathmodule.c bpo-46018: Ensure that math.expm1 does not raise on underflow (GH-29997) 2021-12-09 11:37:06 -08:00
md5module.c [3.10] bpo-42972: Fully support GC for hashlib heap types (GH-26374) (GH-26398) 2021-05-27 01:10:39 -07:00
mmapmodule.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) (GH-26766) 2021-06-17 11:19:44 +01:00
nismodule.c
ossaudiodev.c [3.10] bpo-46053: Fix OSS audio support on NetBSD (GH-30065). (GH-95477) 2022-07-31 11:19:09 +03:00
overlapped.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) (GH-26766) 2021-06-17 11:19:44 +01:00
posixmodule.c [3.10] gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK (GH-97944) (#97967) 2022-10-06 12:14:16 -07:00
posixmodule.h [3.10] bpo-41498: Fix build on platforms without sigset_t (GH-29770) (GH-29773) 2021-11-25 03:53:07 -08:00
pwdmodule.c bpo-1635741: Port grp and pwd to multiphase initialization (GH-23360) 2020-11-18 23:47:32 -08:00
pyexpat.c bpo-45329: Fix freed memory access in pyexpat.c (GH-28649) 2021-10-02 06:21:55 -07:00
readline.c bpo-42819, readline: Disable bracketed paste (GH-24108) 2021-02-16 00:28:24 +01:00
README
resource.c bpo-42960: Add resource.RLIMIT_KQUEUES constant from FreeBSD (GH-24251) 2021-02-18 16:26:20 +01:00
rotatingtree.c
rotatingtree.h
selectmodule.c [3.10] bpo-41857: mention timeout argument units in select.poll() and select.depoll() doc-strings (GH-22406) 2022-01-21 11:02:25 +02:00
Setup bpo-40137: Add pycore_moduleobject.h internal header (GH-25507) 2021-04-22 00:52:52 +02:00
sha1module.c [3.10] Fix typos in the Modules directory (GH-28761) (GH-28781) 2021-10-07 01:55:18 -07:00
sha256module.c [3.10] bpo-42972: Fully support GC for hashlib heap types (GH-26374) (GH-26398) 2021-05-27 01:10:39 -07:00
sha512module.c [3.10] bpo-42972: Fully support GC for hashlib heap types (GH-26374) (GH-26398) 2021-05-27 01:10:39 -07:00
signalmodule.c gh-84461: Silence some compiler warnings on WASM (GH-93978) (#94025) 2022-06-20 16:09:55 +02:00
socketmodule.c gh-94821: Fix autobind of empty unix domain address (GH-94826) 2022-07-17 08:39:30 -07:00
socketmodule.h bpo-41798: Allocate _socket module C API on the heap (GH-24126) 2021-01-06 20:43:06 +01:00
spwdmodule.c bpo-1635741: Port spwd to multiphase initialization (GH-23390) 2020-11-19 10:54:03 +01:00
sre.h bpo-23691: Protect the re.finditer() iterator from re-entering (GH-32012) 2022-03-21 04:30:58 -07:00
sre_constants.h
sre_lib.h bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) 2020-12-01 10:37:39 +01:00
symtablemodule.c bpo-42725: Render annotations effectless on symbol table with PEP 563 (GH-25583) 2021-05-03 10:43:00 +03:00
syslogmodule.c gh-95041: Fail syslog.syslog in case inner call to syslog.openlog fails (GH-95264) 2022-07-26 04:56:04 -07:00
termios.c [3.10] Remove trailing spaces (GH-28709) 2021-10-03 20:03:49 +03:00
testcapi_long.h
timemodule.c bpo-37205: time.time() cannot fail with fatal error (GH-23314) 2020-11-16 16:08:05 +01:00
tkappinit.c
tkinter.h
unicodedata.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) (GH-26766) 2021-06-17 11:19:44 +01:00
unicodedata_db.h
unicodename_db.h
winreparse.h
xxlimited.c bpo-42972: Fully implement GC protocol for xxlimited (GH-26451) (GH-26460) 2021-05-31 12:23:13 +01:00
xxlimited_35.c gh-90763: Modernise xx template module initialisation (GH-93078) 2022-06-10 04:16:57 -07:00
xxmodule.c gh-90763: Modernise xx template module initialisation (GH-93078) 2022-06-10 04:16:57 -07:00
xxsubtype.c
zlibmodule.c [3.10] bpo-41735: Fix thread lock in zlib.Decompress.flush() may go wrong (GH-29587) (GH-29811) 2021-11-26 16:42:00 -08:00

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