cosmopolitan/third_party/python/Objects
Justine Tunney 559b024e1d Decentralize Python native module linkage
We can now link even smaller Python binaries. For example, the hello.com
program in the Python build directory is a compiled linked executable of
hello.py which just prints hello world. Using decentralized sections, we
can make that binary 1.9mb in size (noting that python.com is 6.3 megs!)

This works for nontrivial programs too. For example, say we want an APE
binary that's equivalent to python.com -m http.server. Our makefile now
builds such a binary using the new launcher and it's only 3.2mb in size
since Python sources get turned into ELF objects, which tell our linker
that we need things like native hashing algorithm code.
2021-09-07 11:40:11 -07:00
..
clinic Make whitespace changes 2021-08-13 03:20:45 -07:00
stringlib Make whitespace changes 2021-08-13 03:20:45 -07:00
abstract.c Fix some build breaks 2021-09-04 02:29:57 -07:00
accu.c Make whitespace changes 2021-08-13 03:20:45 -07:00
boolobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
bytearrayobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
bytes_methods.c Make whitespace changes 2021-08-13 03:20:45 -07:00
bytesobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
capsule.c Make whitespace changes 2021-08-13 03:20:45 -07:00
cellobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
classobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
codeobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
complexobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
descrobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
dict-common.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
dictobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
enumobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
exceptions.c Make whitespace changes 2021-08-13 03:20:45 -07:00
fileobject.c Implement tree-shaking for Python sources 2021-09-05 01:20:03 -07:00
floatobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
frameobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
fromfd.c Implement tree-shaking for Python sources 2021-09-05 01:20:03 -07:00
funcobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
genobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
iterobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
listobject.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
longobject.c Get more Python tests passing (#141) 2021-08-16 15:26:31 -07:00
memoryobject.c Implement tree-shaking for Python sources 2021-09-05 01:20:03 -07:00
methodobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
moduleobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
namespaceobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
object.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
obmalloc.c Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
odictobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
rangeobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
README python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
setobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
sliceobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
structseq.c Make whitespace changes 2021-08-13 03:20:45 -07:00
tupleobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
typeobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00
typeslots.inc Perform build and magnum tuning 2021-08-10 10:26:13 -07:00
typeslots.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
unicodectype.c Make whitespace changes 2021-08-13 03:20:45 -07:00
unicodeislinebreak.c Experiment with making Python go faster 2021-08-18 21:57:11 -07:00
unicodeiswhitespace.c Experiment with making Python go faster 2021-08-18 21:57:11 -07:00
unicodeobject.c Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
unicodetonumeric.c Experiment with making Python go faster 2021-08-18 21:57:11 -07:00
unicodetype_db.inc Import some Lua documentation 2021-08-22 15:03:04 -07:00
weakrefobject.c Make whitespace changes 2021-08-13 03:20:45 -07:00

Source files for various builtin objects