cosmopolitan/third_party/python/Modules
Justine Tunney a4b455185b
Bring back gc() function
Renaming gc() to _gc() was a mistake since the better thing to do is put
it behind the _COSMO_SOURCE macro. We need this change because I haven't
wanted to use my amazing garbage collector ever since we renamed it. You
now need to define _COSMO_SOURCE yourself when using amalgamation header
and cosmocc users need to pass the -mcosmo flag to get the gc() function

Some other issues relating to cancelation have been fixed along the way.
We're also now putting cosmocc in a folder named `.cosmocc` so it can be
more safely excluded by grep --exclude-dir=.cosmocc --exclude-dir=o etc.
2024-01-08 10:26:28 -08:00
..
_decimal Bring back gc() function 2024-01-08 10:26:28 -08:00
_io flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_multiprocessing flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_sqlite flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cjkcodecs flip et / noet in modelines 2023-12-07 22:17:11 -05:00
clinic Reduce header complexity 2023-11-28 14:39:42 -08:00
expat Reduce header complexity 2023-11-28 14:39:42 -08:00
_asynciomodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_bisectmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_bz2module.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_codecsmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_collectionsmodule.c Reduce header complexity 2023-11-28 14:39:42 -08:00
_cryptmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_csv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_datetimemodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_dbmmodule.c Reduce header complexity 2023-11-28 14:39:42 -08:00
_elementtree.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_functoolsmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_gdbmmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_hashmbedtls.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_heapqmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_json.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_localemodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_lol3.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_lsprof.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_lzmamodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_math.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_math.h Reduce header complexity 2023-11-28 14:39:42 -08:00
_opcode.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_operator.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_pickle.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_posixsubprocess.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_randommodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_sre.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_stat.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_struct.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_testbuffer.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_testcapimodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_testmultiphase.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_threadmodule.c Bring back gc() function 2024-01-08 10:26:28 -08:00
_tracemalloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_weakref.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
_winapi.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
arraymodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
atexitmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
audioop.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bextra.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bextra.h Reduce header complexity 2023-11-28 14:39:42 -08:00
binascii.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cmathmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
config.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
errnomodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
faulthandler.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fcntlmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fpectlmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fpetestmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fspath.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gcmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getbuildinfo.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getpath.c Bring back gc() function 2024-01-08 10:26:28 -08:00
grpmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
hashlib.h Reduce header complexity 2023-11-28 14:39:42 -08:00
hashtable.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
hashtable.h Reduce header complexity 2023-11-28 14:39:42 -08:00
itertoolsmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
main.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mathmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mmapmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ossaudiodev.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
overlapped.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
parsermodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
posixmodule.c Bring back gc() function 2024-01-08 10:26:28 -08:00
posixmodule.h Make numerous improvements 2021-09-28 01:52:34 -07:00
pwdmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pyexpat.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
README python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
resource.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
rotatingtree.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
rotatingtree.h Reduce header complexity 2023-11-28 14:39:42 -08:00
selectmodule.c Bring back gc() function 2024-01-08 10:26:28 -08:00
signalmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
socketmodule.c Use DNS implementation from Musl Libc 2023-12-28 23:04:35 -08:00
socketmodule.h Reduce header complexity 2023-11-28 14:39:42 -08:00
spwdmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sre.h Make numerous improvements 2021-09-28 01:52:34 -07:00
sre_constants.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sre_lib.inc flip et / noet in modelines 2023-12-07 22:17:11 -05:00
symtablemodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
syslogmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
termios.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
testcapi_long.inc flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timemodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tkinter.h Reduce header complexity 2023-11-28 14:39:42 -08:00
tlsmodule.c Bring back gc() function 2024-01-08 10:26:28 -08:00
tokenbucket.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata.h Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_3.2.0.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_aliases.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_bidirectionalnames.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_categorynames.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_codehash.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_comp.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_decomp.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_decompprefix.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_eastasianwidthnames.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_extendedcase.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_findnfcindex.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata_getcode.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata_getdecomprecord.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata_getrecord.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata_islinebreak.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_isnormalized.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata_isunifiedideograph.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata_iswhitespace.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_lexicon.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_namedsequences.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_nfcfirst.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_nfclast.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_nfcnfkc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata_nfdnfkd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata_phrasebook.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_records.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_tonumeric.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_typerecords.c Reduce header complexity 2023-11-28 14:39:42 -08:00
unicodedata_ucd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodedata_unidata.h Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
winreparse.h Reduce header complexity 2023-11-28 14:39:42 -08:00
xxlimited.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
xxmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
xxsubtype.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
zipimport.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
zlibmodule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00

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