cosmopolitan/third_party/python/Python
Justine Tunney 1ee2e89326
Make improvements
- This commit mints a new release of APE Loader v1.2 which supports
  loading ELF programs with a non-contiguous virtual address layout
  even though we've never been able to take advantage of it, due to
  how `objcopy -SO binary` fills any holes left by PT_LOAD. This'll
  change soon, since we'll have a new way of creating APE binaries.

- The undiamonding trick with our ioctl() implementation is removed
  since POSIX has been killing ioctl() for years and they've done a
  much better job. One problem it resolves, is that ioctl(FIONREAD)
  wasn't working earlier and that caused issues when building Emacs
2023-07-11 04:41:50 -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 Unbreak the x86-64 build 2023-06-16 20:05:24 -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 Fix breakages in Linux-only build modes 2023-07-09 19:51:44 -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 Make improvements 2023-07-11 04:41:50 -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 Implement more toolchain fixes 2023-06-18 05:39:31 -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 bugs in termios library and cleanup code 2023-06-14 19:30:52 -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 Fix breakages in Linux-only build modes 2023-07-09 19:51:44 -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 Unbreak the x86-64 build 2023-06-16 20:05:24 -07:00
xtermmodule.c Unbreak the x86-64 build 2023-06-16 20:05:24 -07:00