cosmopolitan/third_party/python/Objects
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
..
clinic Reduce header complexity 2023-11-28 14:39:42 -08:00
stringlib flip et / noet in modelines 2023-12-07 22:17:11 -05:00
abstract.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
accu.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
boolobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bytearrayobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bytes_methods.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bytesobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
call.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
capsule.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cellobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
classobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
codeobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
complexobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
descrobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
dict-common.h Reduce header complexity 2023-11-28 14:39:42 -08:00
dictobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
enumobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
exceptions.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fileobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
floatobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
frameobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fromfd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
funcobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
genobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iterobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
listobject.c Bring back gc() function 2024-01-08 10:26:28 -08:00
longobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memoryobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
methodobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
moduleobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
namespaceobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
object.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
obmalloc.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
odictobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
rangeobject.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
setobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sliceobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
structseq.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tupleobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
typeobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
typeslots.inc Reduce header complexity 2023-11-28 14:39:42 -08:00
typeslots.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
unicodectype.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodeobject-deadcode.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unicodeobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
weakrefobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00

Source files for various builtin objects