cosmopolitan/third_party/python/Python
Justine Tunney 23e235b7a5
Fix bugs in cosmocc toolchain
This change integrates e58abc1110b335a3341e8ad5821ad8e3880d9bb2 from
https://github.com/ahgamut/musl-cross-make/ which fixes the issues we
were having with our C language extension for symbolic constants. This
change also performs some code cleanup and bug fixes to getaddrinfo().
It's now possible to compile projects like ncurses, readline and python
without needing to patch anything upstream, except maybe a line or two.
Pretty soon it should be possible to build a Linux distro on Cosmo.
2023-06-08 23:44:03 -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 Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -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 Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -07:00
ceval_gil.inc quick addition of cosmo pthreads to python.com 2023-02-23 06:55:17 -08: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 Get --ftrace working on aarch64 2023-06-05 23:35:31 -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 quick addition of cosmo pthreads to python.com 2023-02-23 06:55:17 -08: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 Fix bugs in cosmocc toolchain 2023-06-08 23:44:03 -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 quick addition of cosmo pthreads to python.com 2023-02-23 06:55:17 -08:00
pymath.c Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
pystate.c Fix Python stack overflow checking in MODE=dbg 2023-02-23 08:13:33 -08: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 Make fixes and improvements 2022-10-19 07:19:19 -07:00
thread.c Fix Python stack overflow checking in MODE=dbg 2023-02-23 08:13:33 -08:00
thread_pthread.inc Fix Python stack overflow checking in MODE=dbg 2023-02-23 08:13:33 -08: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