cpython/Modules
Miss Islington (bot) 33d1cfffe1
[3.12] gh-117968: Make the test for closed file more safe in the C API tests (GH-118230) (GH-118266)
The behavior of fileno() after fclose() is undefined, but it is the only
practical way to check whether the file was closed.
Only test this on the known platforms (Linux, Windows, macOS), where we
already tested that it works.
(cherry picked from commit 546cbcfa0e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-25 05:16:43 +00:00
..
_blake2 gh-116116: Backport blake2 change to fix building with clang-cl on windows-i686 (GH-116117) 2024-03-04 17:22:46 +00:00
_ctypes gh-110190: Fix ctypes structs with array on Windows ARM64 (GH-114753) 2024-01-31 00:15:16 +00:00
_decimal [3.12] gh-114563: C decimal falls back to pydecimal for unsupported format strings (GH-114879) (GH-115353) 2024-02-12 23:31:12 +02:00
_hacl [3.12] gh-99108: Refresh HACL*; update modules accordingly; fix namespacing (GH-117237) (GH-117243) 2024-03-26 01:43:24 +00:00
_io [3.12] gh-95782: Fix io.BufferedReader.tell() etc. being able to return offsets < 0 (GH-99709) (GH-115599) 2024-02-17 14:56:00 +02:00
_multiprocessing [3.12] gh-115886: Handle embedded null characters in shared memory name (GH-115887) (GH-115906) 2024-02-25 11:09:28 +00:00
_sqlite [3.12] gh-117995: Don't raise DeprecationWarnings for indexed nameless params (GH-118001) (#118142) 2024-04-22 06:58:41 +00:00
_sre [3.12] gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params (#115016) (#115067) 2024-02-06 11:20:16 +01:00
_ssl
_testcapi [3.12] gh-117968: Make the test for closed file more safe in the C API tests (GH-118230) (GH-118266) 2024-04-25 05:16:43 +00:00
_xxtestfuzz
cjkcodecs [3.12] gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params (#115016) (#115067) 2024-02-06 11:20:16 +01:00
clinic gh-90329: Add _winapi.GetLongPathName and GetShortPathName and use in venv to reduce warnings (GH-117817) 2024-04-15 16:43:41 +01:00
expat [3.12] gh-116741: Upgrade libexpat to 2.6.2 (GH-117296) (GH-118166) 2024-04-23 01:30:59 +00:00
_abc.c
_asynciomodule.c [3.12] GH-115874: Fix segfault in FutureIter_dealloc (GH-118114) 2024-04-19 22:53:18 +00:00
_bisectmodule.c
_bz2module.c
_codecsmodule.c
_collectionsmodule.c [3.12] gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247) (GH-115465) 2024-02-14 17:17:58 +00:00
_contextvarsmodule.c
_cryptmodule.c
_csv.c [3.12] gh-67044: Always quote or escape \r and \n in csv.writer() (GH-115741) (GH-115866) 2024-02-23 20:45:04 +00:00
_curses_panel.c
_cursesmodule.c
_datetimemodule.c [3.12] gh-117534: Add checking for input parameter in iso_to_ymd (GH-117543) (#117689) 2024-04-09 18:17:21 +00:00
_dbmmodule.c
_elementtree.c [3.12] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) (GH-116248) 2024-03-06 22:01:45 +00:00
_functoolsmodule.c
_gdbmmodule.c
_hashopenssl.c [3.12] gh-117233: Detect support for several hashes at hashlib build time (GH-117234) (#117767) 2024-04-11 18:36:31 +00:00
_heapqmodule.c
_json.c
_localemodule.c
_lsprof.c
_lzmamodule.c [3.12] gh-104282: Fix null pointer dereference in lzma._decode_filter_properties (GH-104283) (GH-114181) 2024-01-17 13:31:33 +00:00
_math.h
_opcode.c
_operator.c
_pickle.c [3.12] bpo-41422: Visit the Pickler's and Unpickler's memo in tp_traverse (GH-21664) (GH-112464) 2023-11-27 18:42:48 +00:00
_posixsubprocess.c [3.12] gh-113964: Don't prevent new threads until all non-daemon threads exit (GH-116677) (#117029) 2024-03-19 15:22:42 -04:00
_queuemodule.c
_randommodule.c
_scproxy.c
_ssl.c [3.12] gh-117310: Remove extra DECREF on "no ciphers" error path in _ssl._SSLContext constructor (GH-117309) (GH-117317) 2024-03-28 10:04:57 -07:00
_ssl.h
_ssl_data.h
_ssl_data_31.h
_ssl_data_111.h
_ssl_data_300.h
_stat.c
_statisticsmodule.c
_struct.c [3.12] gh-112358: Fix Python 3.12 regression with subclassing struct.Struct (GH-112424) (#112426) 2023-11-27 08:25:06 +00:00
_testbuffer.c [3.12] gh-114670: Fix _testbuffer module initialization (GH-114672) (#115272) 2024-02-11 10:53:00 +03:00
_testcapi_feature_macros.inc
_testcapimodule.c [3.12] gh-117968: Add tests for the part of the PyRun family of the C API (GH-117982) (GH-118011) 2024-04-22 18:59:28 +00:00
_testclinic.c [3.12] gh-115015: Argument Clinic: fix generated code for METH_METHOD methods without params (#115016) (#115067) 2024-02-06 11:20:16 +01:00
_testimportmultiple.c
_testinternalcapi.c [3.12] gh-110241: Add missing error check to record_eval in _testinternalcapi (GH-110242) (#110244) 2023-10-02 21:38:25 +00:00
_testmultiphase.c
_testsinglephase.c
_threadmodule.c [3.12] gh-113964: Don't prevent new threads until all non-daemon threads exit (GH-116677) (#117029) 2024-03-19 15:22:42 -04:00
_tkinter.c [3.12] gh-112678: Declare Tkapp_CallDeallocArgs() as static (GH-112679) (GH-112690) 2023-12-04 08:21:28 +00:00
_tracemalloc.c
_typingmodule.c
_uuidmodule.c
_weakref.c
_winapi.c gh-90329: Add _winapi.GetLongPathName and GetShortPathName and use in venv to reduce warnings (GH-117817) 2024-04-15 16:43:41 +01:00
_xxinterpchannelsmodule.c [3.12] gh-76785: Use Pending Calls When Releasing Cross-Interpreter Data (gh-109556) (gh-112288) 2023-11-27 14:49:48 -07:00
_xxsubinterpretersmodule.c [3.12] gh-105716: Support Background Threads in Subinterpreters Consistently (gh-109921) (gh-110707) 2023-11-27 19:01:05 -07:00
_zoneinfo.c [3.12] bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825) (GH-110882) 2023-10-15 10:59:19 +03:00
addrinfo.h
arraymodule.c [3.12] gh-116447: Fix possible UB in arraymodule and getargs (GH-116459) (#116496) 2024-03-08 11:22:07 +00:00
atexitmodule.c
audioop.c [3.12] gh-46968: Fix invalid reference to Sound eXchange (SoX) 12.17.7 license (#115094) 2024-02-06 18:59:23 +01:00
binascii.c [3.12] gh-105967: Work around a macOS bug, limit zlib C library crc32 API calls to 1gig (GH-112615) (#112724) 2023-12-04 20:29:23 +00:00
cmathmodule.c
config.c.in
errnomodule.c
faulthandler.c [3.12] gh-117764: Add signatures for functions in the faulthandler module (GH-117771) (GH-117806) 2024-04-12 10:48:55 +00:00
fcntlmodule.c
gc_weakref.txt
gcmodule.c Fix linting for Modules/gcmodule.c (#116691) 2024-03-13 00:00:14 +00:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c [3.12] gh-115136: Fix possible NULL deref in getpath_joinpath() (GH-115137) (GH-115157) 2024-02-08 11:18:38 +02:00
getpath.py
getpath_noop.c
grpmodule.c
hashlib.h
itertoolsmodule.c [3.12] gh-115874: Don't use module state in teedataobject tp_dealloc (GH-116204) (#116955) 2024-03-18 12:40:34 +00:00
ld_so_aix.in
main.c [3.12] gh-105716: Support Background Threads in Subinterpreters Consistently (gh-109921) (gh-110707) 2023-11-27 19:01:05 -07:00
makesetup
makexp_aix
mathmodule.c [3.12] gh-111342: fix typo in math.sumprod (GH-111416) (gh-111419) 2023-10-28 05:27:33 +00:00
md5module.c [3.12] gh-99108: Refresh HACL*; update modules accordingly; fix namespacing (GH-117237) (GH-117243) 2024-03-26 01:43:24 +00:00
mmapmodule.c gh-81489: Use Unicode APIs for mmap tagname on Windows (GH-14133) 2024-01-11 23:13:02 +00:00
nismodule.c
ossaudiodev.c
overlapped.c [3.12] gh-91227: Ignore ERROR_PORT_UNREACHABLE in proactor recvfrom() (GH-32011) (GH-117209) 2024-03-25 12:21:31 +02:00
posixmodule.c gh-117267: Ensure DirEntry.stat().st_ctime still contains creation time during deprecation period (GH-117354) 2024-04-03 22:32:09 +00:00
posixmodule.h
pwdmodule.c [3.12] gh-116545: Fix error handling in mkpwent in pwdmodule (GH-116548) (#116593) 2024-03-11 11:55:09 +00:00
pyexpat.c [3.12] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) (GH-116248) 2024-03-06 22:01:45 +00:00
readline.c [3.12] gh-112105: Make completer delims work on libedit (gh-112106) (gh-112487) 2023-11-28 06:42:54 +00:00
README
resource.c
rotatingtree.c
rotatingtree.h
selectmodule.c [3.12] gh-91565: Update issue tracker URL in error message. (GH-117450) (#117497) 2024-04-03 11:10:12 +02:00
Setup
Setup.bootstrap.in
Setup.stdlib.in [3.12] gh-117968: Add tests for the part of the PyRun family of the C API (GH-117982) (GH-118011) 2024-04-22 18:59:28 +00:00
sha1module.c [3.12] gh-99108: Refresh HACL*; update modules accordingly; fix namespacing (GH-117237) (GH-117243) 2024-03-26 01:43:24 +00:00
sha2module.c [3.12] gh-99108: Refresh HACL*; update modules accordingly; fix namespacing (GH-117237) (GH-117243) 2024-03-26 01:43:24 +00:00
sha3module.c [3.12] gh-99108: Refresh HACL*; update modules accordingly; fix namespacing (GH-117237) (GH-117243) 2024-03-26 01:43:24 +00:00
signalmodule.c
socketmodule.c [3.12] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH-112597) 2023-12-25 20:55:08 +02:00
socketmodule.h
spwdmodule.c
symtablemodule.c
syslogmodule.c
termios.c [3.12] gh-114492: Initialize struct termios before calling tcgetattr() (GH-114495) (GH-114502) 2024-01-23 22:02:02 +00:00
timemodule.c [3.12] gh-88035: update doc-string of epoch in timemodule.c (GH-118076) (GH-118097) 2024-04-19 11:44:59 +00:00
tkappinit.c
tkinter.h
unicodedata.c
unicodedata_db.h
unicodename_db.h
winreparse.h
xxlimited.c [3.12] gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111588) 2023-11-01 18:13:31 +01:00
xxlimited_35.c [3.12] gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111588) 2023-11-01 18:13:31 +01:00
xxmodule.c
xxsubtype.c
zlibmodule.c [3.12] gh-105967: Work around a macOS bug, limit zlib C library crc32 API calls to 1gig (GH-112615) (#112724) 2023-12-04 20:29:23 +00:00

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