cpython/Modules
Dong-hee Na 33f15a16d4
bpo-40077: Convert _json module to use PyType_FromSpec() (GH-19177)
Replace statically allocated types with heap allocated types:
use PyType_FromSpec().

Add a module state to store the Scanner and Encoder types.
Add traverse, clear and free functions to the module.
2020-03-27 11:59:59 +01:00
..
_blake2 bpo-40024: Update C extension modules to use PyModule_AddType() (GH-19119) 2020-03-24 23:08:51 +01:00
_ctypes Use calloc-based functions, not malloc. (GH-19152) 2020-03-24 23:26:44 -05:00
_decimal Cosmetic change to match the surrounding code. (#18704) 2020-02-29 20:07:48 +01:00
_io bpo-39882: Add _Py_FatalErrorFormat() function (GH-19157) 2020-03-25 19:27:36 +01:00
_multiprocessing bpo-39511: Fix multiprocessing semlock_acquire() (GH-18298) 2020-02-01 01:25:59 +01:00
_sha3 bpo-39573: Add Py_SET_TYPE() function (GH-18394) 2020-02-07 09:17:07 +01:00
_sqlite bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES is set. (GH-18942) 2020-03-21 15:53:28 +02:00
_ssl
_xxtestfuzz Fuzz struct.unpack and catch RecursionError in re.compile (GH-18679) 2020-02-27 23:05:02 -08:00
cjkcodecs bpo-40024: Update C extension modules to use PyModule_AddType() (GH-19119) 2020-03-24 23:08:51 +01:00
clinic bpo-39822: Use NULL instead of None for empty attrib in Element. (GH-18735) 2020-03-09 15:12:41 +02:00
expat
README
Setup bpo-35081: Move dtoa.h header to the internal C API (GH-18489) 2020-02-12 22:54:42 +01:00
_abc.c bpo-1635741: Port _abc extension to multiphase initialization (PEP 489) (GH-18030) 2020-02-17 14:50:35 +01:00
_asynciomodule.c bpo-39947: Add PyThreadState_GetID() function (GH-19163) 2020-03-25 21:23:53 +01:00
_bisectmodule.c
_bz2module.c bpo-40024: Update C extension modules to use PyModule_AddType() (GH-19119) 2020-03-24 23:08:51 +01:00
_codecsmodule.c bpo-1635741: Port _codecs extension module to multiphase initialization (PEP 489) (GH-18065) 2020-02-11 03:16:38 -08:00
_collectionsmodule.c bpo-40024: Add PyModule_AddType() helper function (GH-19088) 2020-03-22 17:17:34 +01:00
_contextvarsmodule.c bpo-1635741: Port _contextvars module to multiphase initialization (PEP 489) (GH-18374) 2020-02-17 14:49:26 +01:00
_cryptmodule.c bpo-1635741: Port _crypt extension module to multiphase initialization (PEP 489) (GH-18404) 2020-02-17 10:11:34 +01:00
_csv.c bpo-40024: Update C extension modules to use PyModule_AddType() (GH-19119) 2020-03-24 23:08:51 +01:00
_curses_panel.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00
_cursesmodule.c bpo-40024: Update C extension modules to use PyModule_AddType() (GH-19119) 2020-03-24 23:08:51 +01:00
_datetimemodule.c bpo-40024: Update C extension modules to use PyModule_AddType() (GH-19119) 2020-03-24 23:08:51 +01:00
_dbmmodule.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
_elementtree.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00
_functoolsmodule.c bpo-40071: Fix refleak in _functools module (GH19172) 2020-03-26 13:47:45 +01:00
_gdbmmodule.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
_hashopenssl.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00
_heapqmodule.c bpo-1635741: Port _heapq module to multiphase initialization (GH19057) 2020-03-18 15:29:34 +01:00
_json.c bpo-40077: Convert _json module to use PyType_FromSpec() (GH-19177) 2020-03-27 11:59:59 +01:00
_localemodule.c bpo-39824: Convert PyModule_GetState() to get_module_state() (GH-19076) 2020-03-19 10:11:33 -07:00
_lsprof.c bpo-35370: Add _PyEval_SetTrace() function (GH-18975) 2020-03-13 16:39:12 +01:00
_lzmamodule.c Use calloc-based functions, not malloc. (GH-19152) 2020-03-24 23:26:44 -05:00
_math.c
_math.h
_opcode.c
_operator.c bpo-1635741: Port operator module to multiphase initialization (PEP 489) (GH-19150) 2020-03-25 03:18:47 +01:00
_pickle.c bpo-40024: Update C extension modules to use PyModule_AddType() (GH-19119) 2020-03-24 23:08:51 +01:00
_posixsubprocess.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00
_queuemodule.c bpo-40024: Update C extension modules to use PyModule_AddType() (GH-19119) 2020-03-24 23:08:51 +01:00
_randommodule.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00
_scproxy.c
_sre.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
_ssl.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
_ssl_data.h
_stat.c
_statisticsmodule.c bpo-1635741: Port _statistics module to multiphase initialization (GH-19015) 2020-03-16 16:10:21 +01:00
_struct.c bpo-39689: Do not use native packing for format "?" with standard size (GH-18969) 2020-03-24 06:01:13 -07:00
_testbuffer.c closes bpo-39736: const strings in Modules/_datetimemodule.c and Modules/_testbuffer.c (GH-18637) 2020-02-23 22:40:43 -08:00
_testcapimodule.c Revert "bpo-39087: Add _PyUnicode_GetUTF8Buffer()" (GH-18985) 2020-03-14 15:59:27 +09:00
_testimportmultiple.c
_testinternalcapi.c bpo-39947: Move get_recursion_depth() to _testinternalcapi (GH-18974) 2020-03-13 13:07:31 +01:00
_testmultiphase.c bpo-39824: module_traverse() don't call m_traverse if md_state=NULL (GH-18738) 2020-03-17 18:09:46 +01:00
_threadmodule.c Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064) 2020-03-18 23:33:57 +00:00
_tkinter.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
_tracemalloc.c bpo-39947: Use PyThreadState_GetFrame() (GH-19159) 2020-03-25 19:52:02 +01:00
_uuidmodule.c
_weakref.c bpo-1635741: Port _weakref extension module to multiphase initialization (PEP 489) (GH-19140) 2020-03-24 18:31:19 +01:00
_winapi.c Use calloc-based functions, not malloc. (GH-19152) 2020-03-24 23:26:44 -05:00
_xxsubinterpretersmodule.c bpo-39947: Use PyThreadState_GetFrame() (GH-19159) 2020-03-25 19:52:02 +01:00
addrinfo.h
arraymodule.c bpo-39770, array module: Remove unnecessary descriptor counting (GH-18675) 2020-03-04 15:52:15 +01:00
atexitmodule.c bpo-39824: module_traverse() don't call m_traverse if md_state=NULL (GH-18738) 2020-03-17 18:09:46 +01:00
audioop.c bpo-39824: Convert PyModule_GetState() to get_module_state() (GH-19076) 2020-03-19 10:11:33 -07:00
binascii.c Use calloc-based functions, not malloc. (GH-19152) 2020-03-24 23:26:44 -05:00
cmathmodule.c bpo-35081: Move dtoa.h header to the internal C API (GH-18489) 2020-02-12 22:54:42 +01:00
config.c.in
errnomodule.c
faulthandler.c Use calloc-based functions, not malloc. (GH-19152) 2020-03-24 23:26:44 -05:00
fcntlmodule.c bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal`, `syslog` (GH-18407) 2020-02-13 07:47:42 +00:00
gc_weakref.txt
gcmodule.c bpo-39245: Switch to public API for Vectorcall (GH-18460) 2020-02-11 17:46:57 +01:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c bpo-1294959: Add sys.platlibdir attribute (GH-18381) 2020-03-10 09:53:09 +01:00
grpmodule.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00
hashlib.h
hashtable.c
hashtable.h
itertoolsmodule.c bpo-40036: Deleting duplicates in itertoolsmodule.c (GH-18958) 2020-03-23 13:14:39 -07:00
ld_so_aix.in
main.c
makesetup
makexp_aix
mathmodule.c bpo-39871: Fix possible SystemError in atan2, copysign and remainder (GH-18806) 2020-03-14 10:45:32 +00:00
md5module.c closes bpo-39621: Make buf arg to md5_compress be const. (GH-18497) 2020-02-12 20:53:01 -08:00
mmapmodule.c
nismodule.c
ossaudiodev.c bpo-39582: ossaudiodev module update helpers signature for ioctl calls. (GH-18412) 2020-03-14 15:48:56 +02:00
overlapped.c bpo-40024: Update C extension modules to use PyModule_AddType() (GH-19119) 2020-03-24 23:08:51 +01:00
parsermodule.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
posixmodule.c bpo-40014: Fix os.getgrouplist() (GH-19126) 2020-03-24 18:22:10 +01:00
posixmodule.h
pwdmodule.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00
pyexpat.c bpo-39245: Switch to public API for Vectorcall (GH-18460) 2020-02-11 17:46:57 +01:00
readline.c bpo-39968: Fix a typo error in get_readline_state() (GH-19028) 2020-03-16 18:16:32 +01:00
resource.c bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal`, `syslog` (GH-18407) 2020-02-13 07:47:42 +00:00
rotatingtree.c
rotatingtree.h
selectmodule.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00
sha1module.c bpo-39573: Add Py_SET_TYPE() function (GH-18394) 2020-02-07 09:17:07 +01:00
sha256module.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
sha512module.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
signalmodule.c bpo-38644: Pass tstate explicitly in signalmodule.c (GH-19184) 2020-03-26 22:28:11 +01:00
socketmodule.c closes bpo-39859: Do not downcast result of hstrerror (GH-18790) 2020-03-05 20:43:36 -08:00
socketmodule.h
spwdmodule.c
sre.h
sre_constants.h
sre_lib.h
symtablemodule.c
syslogmodule.c bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, `resource`, `shutil`, `signal`, `syslog` (GH-18407) 2020-02-13 07:47:42 +00:00
termios.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00
testcapi_long.h
timemodule.c closes bpo-40017: Add CLOCK_TAI constant to the time module. (GH-19096) 2020-03-23 22:41:40 -05:00
tkappinit.c
tkinter.h
unicodedata.c bpo-39943: Remove unused self from find_nfc_index() (GH-18973) 2020-03-17 17:38:12 +01:00
unicodedata_db.h closes bpo-39926: Update Unicode to 13.0.0. (GH-18910) 2020-03-10 20:41:34 -07:00
unicodename_db.h closes bpo-39926: Update Unicode to 13.0.0. (GH-18910) 2020-03-10 20:41:34 -07:00
winreparse.h
xxlimited.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
xxmodule.c bpo-39573: Clean up modules and headers to use Py_IS_TYPE() function (GH-18521) 2020-02-17 11:09:15 +01:00
xxsubtype.c
zlibmodule.c bpo-39968: Convert extension modules' macros of get_module_state() to inline functions (GH-19017) 2020-03-16 14:15:01 +01:00

README

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