cosmopolitan/third_party
Gautham 49db877fbe
Minimize Python startup imports (#292)
* get_exports_list should return list
* remove unintentional `CC=clang` in makefile
* avoid importing sysconfig during startup

site.py requires only a couple of functions from sysconfig, but needs to
load the entirety of sysconfig to get those functions. This commit
makes it such that sysconfig is imported only when sys.platform is darwin.

* remove redundant constants from stat module

The constants are only there in case the C implementation (ie the _stat
module) is not available. With Cosmopolitan the _stat module is always
available. The entire Lib/stat.py file can be removed if the Windows-based
constants can be moved into the Modules/_stat.c.

* minimal changes to os.py

python checks os-based assumptions at startup, some of  which can be
bypassed since this is Cosmopolitan Python.
2021-10-25 14:04:04 -07:00
..
argon2 Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
bzip2 Improve memory safety 2021-10-13 17:27:13 -07:00
chibicc Improve memory safety 2021-10-13 17:27:13 -07:00
compiler_rt Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
dlmalloc Improve memory safety 2021-10-13 17:27:13 -07:00
gcc Elevate .text.syscall to .privileged 2021-02-06 04:49:22 -08:00
gdtoa Improve memory safety 2021-10-13 17:27:13 -07:00
getopt Make numerous improvements 2021-09-28 01:52:34 -07:00
infozip Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
linenoise Improve memory safety 2021-10-13 17:27:13 -07:00
lua Improve memory safety 2021-10-13 17:27:13 -07:00
lz4cli Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
mbedtls Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
musl Apply fixes and speedups 2021-10-04 03:23:31 -07:00
python Minimize Python startup imports (#292) 2021-10-25 14:04:04 -07:00
quickjs Improve memory safety 2021-10-13 17:27:13 -07:00
regex Apply fixes and speedups 2021-10-04 03:23:31 -07:00
sqlite3 Improve memory safety 2021-10-13 17:27:13 -07:00
stb Make fixes, improvements, and chibicc python bindings 2021-10-08 08:41:57 -07:00
xed Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
zlib Make numerous improvements 2021-09-28 01:52:34 -07:00
third_party.mk Fix minor issues 2021-10-08 20:51:11 -07:00