cosmopolitan/third_party/python/Lib/logging
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
..
__init__.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
config.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
handlers.py Minimize Python startup imports (#292) 2021-10-25 14:04:04 -07:00