cosmopolitan/third_party/python/Python
Justine Tunney 6f7d0cb1c3
Pay off more technical debt
This makes breaking changes to add underscores to many non-standard
function names provided by the c library. MODE=tiny is now tinier and
we now use smaller locks that are better for tiny apps in this mode.
Some headers have been renamed to be in the same folder as the build
package, so it'll be easier to know which build dependency is needed.
Certain old misguided interfaces have been removed. Intel intrinsics
headers are now listed in libc/isystem (but not in the amalgamation)
to help further improve open source compatibility. Header complexity
has also been reduced. Lastly, more shell scripts are now available.
2022-09-12 23:36:56 -07:00
..
clinic Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
_warnings.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
asdl.c Make whitespace changes 2021-08-13 03:20:45 -07:00
ast.c Make numerous improvements 2021-09-28 01:52:34 -07:00
atexit.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
bltinmodule.c Move importlib functions to within C (#408) 2022-05-26 23:20:59 -07:00
ceval.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
ceval_gil.inc Make whitespace changes 2021-08-13 03:20:45 -07:00
codecs.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
compile.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
condvar.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
cosmomodule.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
dtoa.c Unbloat the build 2022-08-11 00:15:29 -07:00
dynamic_annotations.c Make whitespace changes 2021-08-13 03:20:45 -07:00
dynload_dl.c Make numerous improvements 2021-09-28 01:52:34 -07:00
dynload_shlib.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
dynload_stub.c Make whitespace changes 2021-08-13 03:20:45 -07:00
dynload_win.c Make numerous improvements 2021-09-28 01:52:34 -07:00
errors.c Unbloat the build 2022-08-11 00:15:29 -07:00
fatality.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
fdisinteractive.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
fileutils.c Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
finalize.c Add sys.meta_path entry for APE zip store (#425) 2022-06-26 05:51:00 -07:00
flags.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
flushstdfiles.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
formatter_unicode.c Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
frozen.c Revert "Make MODE=tiny not depend on default build" 2021-10-26 17:14:38 -07:00
frozenmain.c Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
frozenmodules.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
future.c Make numerous improvements 2021-09-28 01:52:34 -07:00
getargs.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
getcompiler.c Make numerous improvements 2021-09-28 01:52:34 -07:00
getcopyright.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
getopt.c Make numerous improvements 2021-09-28 01:52:34 -07:00
getplatform.c Make numerous improvements 2021-09-28 01:52:34 -07:00
getsig.c Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
getversion.c Make whitespace changes 2021-08-13 03:20:45 -07:00
graminit.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
import.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
importdl.c Make whitespace changes 2021-08-13 03:20:45 -07:00
importdl.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
initfsencoding.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
initialized.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
initimport.c Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
initmain.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
initsigs.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
initsite.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
initstdio.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
inittab.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
makeopcodetargets.py Perform build and magnum tuning 2021-08-10 10:26:13 -07:00
marshal.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
modsupport.c Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
mysnprintf.c Make numerous improvements 2021-09-28 01:52:34 -07:00
mystrtoul.c Make fixes, improvements, and chibicc python bindings 2021-10-08 08:41:57 -07:00
opcode_targets.inc Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
peephole.c Make numerous improvements 2021-09-28 01:52:34 -07:00
progname.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
pyarena.c Make whitespace changes 2021-08-13 03:20:45 -07:00
pyfpe.c Make whitespace changes 2021-08-13 03:20:45 -07:00
pyhash.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
pylifecycle.c Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
pymath.c Make whitespace changes 2021-08-13 03:20:45 -07:00
pystate.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
pystrcmp.c Make whitespace changes 2021-08-13 03:20:45 -07:00
pystrhex.c Make whitespace changes 2021-08-13 03:20:45 -07:00
pystrtod.c Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
Python-ast.c Implement tree-shaking for Python sources 2021-09-05 01:20:03 -07:00
pythonhome.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
pythonrun.c Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
pytime.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
random.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
recursive.c Make fixes, improvements, and chibicc python bindings 2021-10-08 08:41:57 -07:00
restoresigs.c Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
sigcheck.c Make whitespace changes 2021-08-13 03:20:45 -07:00
structmember.c Make whitespace changes 2021-08-13 03:20:45 -07:00
symtable.c Make whitespace changes 2021-08-13 03:20:45 -07:00
sysmodule.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
thread.c Make numerous improvements 2021-09-28 01:52:34 -07:00
thread_foobar.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
thread_nt.inc Undiamond Python headers 2021-08-12 14:07:40 -07:00
thread_pthread.inc Make numerous improvements 2021-09-28 01:52:34 -07:00
traceback.c Make whitespace changes 2021-08-13 03:20:45 -07:00
wordcode_helpers.inc Make whitespace changes 2021-08-13 03:20:45 -07:00
xedmodule.c Improve signals and memory protection 2022-04-12 22:11:00 -07:00
xtermmodule.c Apply fixes and speedups 2021-10-04 03:23:31 -07:00