cosmopolitan/third_party/python/Objects
Justine Tunney ae5d06dc53 Unbloat build config
- 10.5% reduction of o//depend dependency graph
- 8.8% reduction in latency of make command
- Fix issue with temporary file cleanup

There's a new -w option in compile.com that turns off the recent
Landlock output path workaround for "good commands" which do not
unlink() the output file like GNU tooling does.

Our new GNU Make unveil sandboxing appears to have zero overhead
in the grand scheme of things. Full builds are pretty fast since
the only thing that's actually slowed us down is probably libcxx

    make -j16 MODE=rel
    RL: took 85,732,063µs wall time
    RL: ballooned to 323,612kb in size
    RL: needed 828,560,521µs cpu (11% kernel)
    RL: caused 39,080,670 page faults (99% memcpy)
    RL: 350,073 context switches (72% consensual)
    RL: performed 0 reads and 11,494,960 write i/o operations

pledge() and unveil() no longer consider ENOSYS to be an error.
These functions have also been added to Python's cosmo module.

This change also removes some WIN32 APIs and System Five magnums
which we're not using and it's doubtful anyone else would be too
2022-08-10 04:43:09 -07:00
..
clinic Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
stringlib Make numerous improvements 2021-09-28 01:52:34 -07:00
abstract.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
accu.c Make whitespace changes 2021-08-13 03:20:45 -07:00
boolobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
bytearrayobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
bytes_methods.c Make numerous improvements 2021-09-28 01:52:34 -07:00
bytesobject.c Make fixes, improvements, and chibicc python bindings 2021-10-08 08:41:57 -07:00
call.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
capsule.c Make whitespace changes 2021-08-13 03:20:45 -07:00
cellobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
classobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
codeobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
complexobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
descrobject.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
dict-common.h Make numerous improvements 2021-09-28 01:52:34 -07:00
dictobject.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
enumobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
exceptions.c Make whitespace changes 2021-08-13 03:20:45 -07:00
fileobject.c Unbloat build config 2022-08-10 04:43:09 -07:00
floatobject.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
frameobject.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
fromfd.c Implement tree-shaking for Python sources 2021-09-05 01:20:03 -07:00
funcobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
genobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
iterobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
listobject.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
longobject.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
memoryobject.c Implement tree-shaking for Python sources 2021-09-05 01:20:03 -07:00
methodobject.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
moduleobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
namespaceobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
object.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
obmalloc.c Unbloat build config 2022-08-10 04:43:09 -07:00
odictobject.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
rangeobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
README python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
setobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
sliceobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
structseq.c Make whitespace changes 2021-08-13 03:20:45 -07:00
tupleobject.c Add error checks to Python objectifier (#281) 2021-10-02 06:17:17 -07:00
typeobject.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
typeslots.inc Perform build and magnum tuning 2021-08-10 10:26:13 -07:00
typeslots.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
unicodectype.c Make numerous improvements 2021-09-28 01:52:34 -07:00
unicodeobject-deadcode.c Make fixes, improvements, and chibicc python bindings 2021-10-08 08:41:57 -07:00
unicodeobject.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
weakrefobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00

Source files for various builtin objects