cpython/Modules
Victor Stinner 37b8294d62
bpo-41710: PyThread_acquire_lock_timed() clamps the timout (GH-28643)
PyThread_acquire_lock_timed() now clamps the timeout into the
[_PyTime_MIN; _PyTime_MAX] range (_PyTime_t type) if it is too large,
rather than calling Py_FatalError() which aborts the process.

PyThread_acquire_lock_timed() no longer uses
MICROSECONDS_TO_TIMESPEC() to compute sem_timedwait() argument, but
_PyTime_GetSystemClock() and _PyTime_AsTimespec_truncate().

Fix _thread.TIMEOUT_MAX value on Windows: the maximum timeout is
0x7FFFFFFF milliseconds (around 24.9 days), not 0xFFFFFFFF
milliseconds (around 49.7 days).

Set PY_TIMEOUT_MAX to 0x7FFFFFFF milliseconds, rather than 0xFFFFFFFF
milliseconds.

Fix PY_TIMEOUT_MAX overflow test: replace (us >= PY_TIMEOUT_MAX) with
(us > PY_TIMEOUT_MAX).
2021-09-30 10:16:51 +02:00
..
_blake2
_ctypes Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03:00
_decimal bpo-44263: Fix _decimal and _testcapi GC protocol (GH-26464) 2021-05-31 13:10:31 +02:00
_io bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
_multiprocessing bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) 2020-12-01 10:37:39 +01:00
_sha3 bpo-36515: Disable unaligned memory access in _sha3 on ARM (GH-25927) 2021-05-05 13:55:33 -07:00
_sqlite bpo-44958: Revert GH-27844 (GH-28574) 2021-09-26 22:24:19 +01:00
_ssl bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792) 2021-05-02 09:47:45 +02:00
_xxtestfuzz bpo-44113: Update __xxtestfuzz not to use Py_SetProgramName (GH-26083) 2021-05-13 08:22:18 +09:00
cjkcodecs bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) 2021-06-17 11:06:09 +01:00
clinic [codemod] Fix non-matching bracket pairs (GH-28473) 2021-09-22 01:09:00 +02:00
expat bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) 2021-08-29 16:08:24 +02:00
README
Setup bpo-44353: Implement typing.NewType __call__ method in C (#27262) 2021-07-22 23:06:54 +02:00
_abc.c bpo-43977: Properly update the tp_flags of existing subclasses when their parents are registered (GH-26864) 2021-06-25 08:20:43 -07:00
_asynciomodule.c bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make Py_TPFLAGS_HAVE_VERSION_TAG no-op (GH-27260) 2021-07-23 06:21:11 -07:00
_bisectmodule.c bpo-44854: Remove trailing whitespaces (GH-27689) 2021-08-09 21:32:54 +03:00
_bz2module.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) 2021-06-17 11:06:09 +01:00
_codecsmodule.c
_collectionsmodule.c Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03:00
_contextvarsmodule.c
_cryptmodule.c closes bpo-44751: Move crypt.h include from public header to _cryptmodule (GH-27394) 2021-07-27 15:58:12 -07:00
_csv.c bpo-44630: Fix assertion errors in csv module (GH-27127) 2021-07-13 15:56:45 -07:00
_curses_panel.c
_cursesmodule.c bpo-45067 - Verify the version of ncurses for extended color support feature usage. (GH-28260) 2021-09-09 11:32:11 -07:00
_datetimemodule.c [codemod] Fix non-matching bracket pairs (GH-28473) 2021-09-22 01:09:00 +02:00
_dbmmodule.c bpo-40563: Support pathlike objects on dbm/shelve (GH-21849) 2021-09-10 15:26:16 +03:00
_elementtree.c Update URLs in comments and metadata to use HTTPS (GH-27458) 2021-07-30 15:54:46 +02:00
_functoolsmodule.c Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03:00
_gdbmmodule.c bpo-40563: Support pathlike objects on dbm/shelve (GH-21849) 2021-09-10 15:26:16 +03:00
_hashopenssl.c bpo-44145: Release the GIL around HMAC_Update. (GH-26157) 2021-05-17 00:35:16 -07:00
_heapqmodule.c
_json.c bpo-44854: Remove trailing whitespaces (GH-27689) 2021-08-09 21:32:54 +03:00
_localemodule.c
_lsprof.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) 2021-06-17 11:06:09 +01:00
_lzmamodule.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) 2021-06-17 11:06:09 +01:00
_math.c [codemod] Fix non-matching bracket pairs (GH-28473) 2021-09-22 01:09:00 +02:00
_math.h
_opcode.c bpo-44890: collect specialization stats if Py_DEBUG (GH-27731) 2021-08-12 12:15:06 +01:00
_operator.c bpo-43753: _operator.is_() uses Py_Is() (GH-28641) 2021-09-30 01:28:10 +02:00
_pickle.c bpo-44029: Remove Py_UNICODE APIs (GH-25881) 2021-05-07 15:58:29 +09:00
_posixsubprocess.c bpo-45094: Add Py_NO_INLINE macro (GH-28140) 2021-09-03 16:44:02 +02:00
_queuemodule.c bpo-41710: PyThread_acquire_lock_timed() clamps the timout (GH-28643) 2021-09-30 10:16:51 +02:00
_randommodule.c bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
_scproxy.c
_sre.c Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03:00
_ssl.c bpo-41710: Add _PyTime_AsTimespec_clamp() (GH-28629) 2021-09-30 02:11:41 +02:00
_ssl.h
_ssl_data.h
_ssl_data_111.h
_ssl_data_300.h
_stat.c
_statisticsmodule.c
_struct.c bpo-45034: Fix how upper limit is formatted for `struct.pack("H", ...)` (GH-28178) 2021-09-07 13:18:46 +01:00
_testbuffer.c
_testcapimodule.c bpo-41710: Add _PyTime_AsTimespec_clamp() (GH-28629) 2021-09-30 02:11:41 +02:00
_testimportmultiple.c
_testinternalcapi.c bpo-38530: Refactor and improve AttributeError suggestions (GH-25776) 2021-05-03 16:47:27 +01:00
_testmultiphase.c Add _PyType_GetModuleByDef (GH-22835) 2020-11-03 22:27:12 +01:00
_threadmodule.c bpo-41710: PyThread_acquire_lock_timed() clamps the timout (GH-28643) 2021-09-30 10:16:51 +02:00
_tkinter.c bpo-38371: Remove deprecated `tkinter` split() method (GH-28237) 2021-09-08 23:02:19 +03:00
_tracemalloc.c bpo-44590: Lazily allocate frame objects (GH-27077) 2021-07-26 11:22:16 +01:00
_typingmodule.c bpo-44353: Implement typing.NewType __call__ method in C (#27262) 2021-07-22 23:06:54 +02:00
_uuidmodule.c
_weakref.c
_winapi.c Update URLs in comments and metadata to use HTTPS (GH-27458) 2021-07-30 15:54:46 +02:00
_xxsubinterpretersmodule.c bpo-44590: Lazily allocate frame objects (GH-27077) 2021-07-26 11:22:16 +01:00
_zoneinfo.c Add more const modifiers. (GH-26691) 2021-06-12 16:11:59 +03:00
addrinfo.h
arraymodule.c [codemod] Fix non-matching bracket pairs (GH-28473) 2021-09-22 01:09:00 +02:00
atexitmodule.c
audioop.c
binascii.c bpo-45085: Remove the binhex module (GH-28117) 2021-09-02 12:10:08 +02:00
cmathmodule.c
config.c.in Add tests for the C tokenizer and expose it as a private module (GH-27924) 2021-08-24 17:50:05 +01:00
errnomodule.c bpo-42971: Add errno.EQFULL (macOS) (GH-24419) 2021-08-06 23:35:13 +02:00
faulthandler.c bpo-41710: PyThread_acquire_lock_timed() clamps the timout (GH-28643) 2021-09-30 10:16:51 +02:00
fcntlmodule.c
gc_weakref.txt Update URLs in comments and metadata to use HTTPS (GH-27458) 2021-07-30 15:54:46 +02:00
gcmodule.c bpo-41117: Cleanup subtract_refs() (GH-27593) 2021-08-04 18:09:14 +02:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c bpo-45211: Remember the stdlib dir during startup. (gh-28586) 2021-09-28 12:18:28 -06:00
grpmodule.c
hashlib.h
itertoolsmodule.c Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03:00
ld_so_aix.in
main.c
makesetup
makexp_aix
mathmodule.c bpo-35606: Fix math.prod tests using 'start' as keyword parameter (GH-28595) 2021-09-28 13:32:43 +01:00
md5module.c bpo-42972: Fully support GC for hashlib heap types (GH-26374) 2021-05-27 09:48:19 +02:00
mmapmodule.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) 2021-06-17 11:06:09 +01:00
nismodule.c
ossaudiodev.c
overlapped.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) 2021-06-17 11:06:09 +01:00
posixmodule.c Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03:00
posixmodule.h
pwdmodule.c
pyexpat.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) 2021-06-17 11:06:09 +01:00
readline.c
resource.c
rotatingtree.c
rotatingtree.h
selectmodule.c bpo-41710: Add _PyTime_AsTimespec_clamp() (GH-28629) 2021-09-30 02:11:41 +02:00
sha1module.c bpo-42972: Fully support GC for hashlib heap types (GH-26374) 2021-05-27 09:48:19 +02:00
sha256module.c bpo-42972: Fully support GC for hashlib heap types (GH-26374) 2021-05-27 09:48:19 +02:00
sha512module.c bpo-42972: Fully support GC for hashlib heap types (GH-26374) 2021-05-27 09:48:19 +02:00
signalmodule.c bpo-45163: Haiku build fix. (GH-28269) 2021-09-11 11:46:22 +03:00
socketmodule.c bpo-41710: Add _PyTime_AsTimespec_clamp() (GH-28629) 2021-09-30 02:11:41 +02:00
socketmodule.h
spwdmodule.c
sre.h
sre_constants.h
sre_lib.h
symtablemodule.c
syslogmodule.c
termios.c bpo-41818: Add termios.tcgetwinsize(), termios.tcsetwinsize(). (GH-23686) 2021-08-26 19:56:26 -07:00
testcapi_long.h
timemodule.c bpo-21302: Add nanosleep() implementation for time.sleep() in Unix (GH-28545) 2021-09-25 14:36:26 +02:00
tkappinit.c
tkinter.h
unicodedata.c closes bpo-45190: Update Unicode data to version 14.0.0. (GH-28336) 2021-09-14 11:00:38 -07:00
unicodedata_db.h closes bpo-45190: Update Unicode data to version 14.0.0. (GH-28336) 2021-09-14 11:00:38 -07:00
unicodename_db.h closes bpo-45190: Update Unicode data to version 14.0.0. (GH-28336) 2021-09-14 11:00:38 -07:00
winreparse.h
xxlimited.c bpo-42972: Fully implement GC protocol for xxlimited (GH-26451) 2021-05-31 09:51:19 +02:00
xxlimited_35.c bpo-42972: Fully implement GC protocol for xxlimited (GH-26451) 2021-05-31 09:51:19 +02:00
xxmodule.c
xxsubtype.c
zlibmodule.c [codemod] Fix non-matching bracket pairs (GH-28473) 2021-09-22 01:09:00 +02:00

README

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