cpython/Modules
Eric Snow 0c50b8c0b8
bpo-45211: Remember the stdlib dir during startup. (gh-28586)
During runtime startup we figure out the stdlib dir but currently throw that information away. This change preserves it and exposes it via PyConfig.stdlib_dir, _Py_GetStdlibDir(), and sys._stdlib_dir.

https://bugs.python.org/issue45211
2021-09-28 12:18:28 -06:00
..
_blake2 bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792) 2021-05-02 09:47:45 +02:00
_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 bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513) 2020-10-16 10:34:15 +02:00
_collectionsmodule.c Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03: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) 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 bpo-43916: Add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag (GH-25721) 2021-04-30 12:46:15 +02:00
_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 bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) 2020-12-01 09:56:42 +01:00
_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-44019: Implement operator.call(). (GH-27888) 2021-09-24 16:22:49 +01: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 Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03: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 bpo-1635741: port scproxy to multi-phase init (GH-22164) 2020-09-09 12:28:48 +09:00
_sre.c Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03:00
_ssl.c Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993) 2021-08-27 13:38:24 +02: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 bpo-45034: Fix how upper limit is formatted for `struct.pack("H", ...)` (GH-28178) 2021-09-07 13:18:46 +01:00
_testbuffer.c bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) 2020-12-01 10:37:39 +01:00
_testcapimodule.c bpo-21302: Add _PyTime_AsNanoseconds() (GH-28350) 2021-09-15 14:26:43 +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-44434: Don't call PyThread_exit_thread() explicitly (GH-26758) 2021-06-21 13:16:18 +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 bpo-43268: Pass interp rather than tstate to internal functions (GH-24580) 2021-02-19 15:10:45 +01:00
audioop.c
binascii.c bpo-45085: Remove the binhex module (GH-28117) 2021-09-02 12:10:08 +02:00
cmathmodule.c bpo-1635741: Port cmath to multi-phase init (PEP 489) (GH-22165) 2020-09-10 16:09:04 +02:00
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-43268: Replace _PyThreadState_GET() with _PyInterpreterState_GET() (GH-24576) 2021-02-19 13:21:28 +01: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 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 bpo-1635741: Port grp and pwd to multiphase initialization (GH-23360) 2020-11-18 23:47:32 -08:00
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 Typo in comment (GH-24199) 2021-01-25 14:51:48 -08:00
makesetup
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-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 bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) 2020-12-01 10:37:39 +01:00
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 bpo-42655: Fix subprocess extra_groups gid conversion (GH-23762) 2020-12-29 14:58:27 +02: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-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) 2021-06-17 11:06:09 +01:00
readline.c bpo-42819, readline: Disable bracketed paste (GH-24108) 2021-02-16 00:28:24 +01:00
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 bpo-43916: select.devpoll uses Py_TPFLAGS_DISALLOW_INSTANTIATION (GH-25751) 2021-04-30 18:19:57 +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-45228: Fix stack buffer overflow in parsing J1939 address (GH-28404) 2021-09-17 11:46:19 +03: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
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
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 bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) 2020-12-01 10:37:39 +01:00
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.