cosmopolitan/dsp/core
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
..
alaw.c Make numerous improvements 2021-09-28 01:52:34 -07:00
byte2double.c Fix build from docker build with alpine from macOS (#286) 2021-10-25 13:39:05 -07:00
c11.h Initial import 2020-06-15 07:18:57 -07:00
c121.h Initial import 2020-06-15 07:18:57 -07:00
c121s.h Initial import 2020-06-15 07:18:57 -07:00
c161.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
c161s.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
c331.h Initial import 2020-06-15 07:18:57 -07:00
c1331.h Initial import 2020-06-15 07:18:57 -07:00
c1331s.h Initial import 2020-06-15 07:18:57 -07:00
core.h Make numerous improvements 2021-09-28 01:52:34 -07:00
core.mk Minimize Python startup imports (#292) 2021-10-25 14:04:04 -07:00
dct.c Fix build from docker build with alpine from macOS (#286) 2021-10-25 13:39:05 -07:00
det3.c Change license 2020-12-27 17:18:44 -08:00
differsumsq.c Change license 2020-12-27 17:18:44 -08:00
differsumsq8.c Change license 2020-12-27 17:18:44 -08:00
double2byte.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
float2short.c Fix build from docker build with alpine from macOS (#286) 2021-10-25 13:39:05 -07:00
gamma.c Change license 2020-12-27 17:18:44 -08:00
gamma.h Initial import 2020-06-15 07:18:57 -07:00
getintegercoefficients.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
getintegercoefficients8.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
half.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
illumination.c Change license 2020-12-27 17:18:44 -08:00
illumination.h Initial import 2020-06-15 07:18:57 -07:00
inv3.c Change license 2020-12-27 17:18:44 -08:00
ituround.h Initial import 2020-06-15 07:18:57 -07:00
ks8.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
kss8.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
matmul3.c Change license 2020-12-27 17:18:44 -08:00
matvmul3.c Change license 2020-12-27 17:18:44 -08:00
mulaw.c Make numerous improvements 2021-09-28 01:52:34 -07:00
q.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
sad16x8n.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
scalevolume.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
twixt8.h Initial import 2020-06-15 07:18:57 -07:00
unalaw.c Fix build from docker build with alpine from macOS (#286) 2021-10-25 13:39:05 -07:00
unmulaw.c Make numerous improvements 2021-09-28 01:52:34 -07:00
vmatmul3.c Change license 2020-12-27 17:18:44 -08:00