cosmopolitan/third_party/python/Lib
Justine Tunney b73e35c6fa
Improve open source compatibility
This change tunes the default stack size for the outside world to 8mb
while at the same time, reducing Cosmopolitan's default stack size to
64kb. You can override the stack size using STATIC_STACK_SIZE(). Your
build scripts should point to o//ape/public/ape.lds

This change also fixes the definition of SOMAXCONN and removes AF_RDS
since it's not polyfilled and Python 3.11 complained.
2022-09-08 03:19:35 -07:00
..
asyncio python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
collections Make numerous improvements 2021-09-28 01:52:34 -07:00
concurrent python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
ctypes Fix Pyston speedups (#281) 2021-10-02 01:28:51 -07:00
curses python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
dbm python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
distutils Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
email Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
encodings Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
html python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
http Make numerous improvements 2021-09-28 01:52:34 -07:00
idlelib Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
importlib Tidy up pydoc help (#567) 2022-08-22 20:40:00 -07:00
json Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
lib2to3 Undiamond Python headers 2021-08-12 14:07:40 -07:00
logging Minimize Python startup imports (#292) 2021-10-25 14:04:04 -07:00
msilib python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
multiprocessing Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
pydoc_data Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
site-packages python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sqlite3 Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
test Improve open source compatibility 2022-09-08 03:19:35 -07:00
tkinter python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
turtledemo python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
unittest Add Python JSON tests (#407) 2022-05-13 13:02:15 -07:00
urllib Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
venv Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
wsgiref python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
xml Make numerous improvements 2021-09-28 01:52:34 -07:00
xmlrpc python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
.zip.o Make numerous improvements 2021-09-28 01:52:34 -07:00
__future__.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
__phello__.foo.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_bootlocale.py Improve Python and Linenoise 2021-09-11 22:30:37 -07:00
_collections_abc.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_compat_pickle.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_compression.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_dummy_thread.py Source changes for compilation 2021-08-09 05:39:42 -07:00
_markupbase.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_osx_support.py Undiamond Python headers 2021-08-12 14:07:40 -07:00
_pydecimal.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
_pyio.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
_sitebuiltins.py Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
_strptime.py Make numerous improvements 2021-09-28 01:52:34 -07:00
_sysconfigdata_m_cosmo_x86_64_cosmo.py Make improvements 2022-04-28 09:57:07 -07:00
_threading_local.py Source changes for compilation 2021-08-09 05:39:42 -07:00
_weakrefset.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
abc.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
aifc.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
antigravity.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
argparse.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
ast.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
asynchat.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
asyncore.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
base64.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
bdb.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
binhex.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
bisect.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
bz2.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
calendar.py Make numerous improvements 2021-09-28 01:52:34 -07:00
cgi.py Make numerous improvements 2021-09-28 01:52:34 -07:00
cgitb.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
chunk.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
cmd.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
code.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
codecs.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
codeop.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
colorsys.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
compileall.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
configparser.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
contextlib.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
copy.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
copyreg.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
cProfile.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
crypt.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
csv.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
datetime.py Make numerous improvements 2021-09-28 01:52:34 -07:00
decimal.py Make numerous improvements 2021-09-28 01:52:34 -07:00
difflib.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
dis.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
doctest.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
dummy_threading.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
enum.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
filecmp.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
fileinput.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
fnmatch.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
formatter.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
fractions.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
ftplib.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
functools.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
genericpath.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
getopt.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
getpass.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
gettext.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
glob.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
gzip.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
hashlib.py Make numerous improvements 2021-09-28 01:52:34 -07:00
heapq.py Make numerous improvements 2021-09-28 01:52:34 -07:00
hmac.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
imaplib.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
imghdr.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
imp.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
inspect.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
io.py Add sys.meta_path entry for APE zip store (#425) 2022-06-26 05:51:00 -07:00
ipaddress.py Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
keyword.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
launchpy.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
linecache.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
locale.py Source changes for compilation 2021-08-09 05:39:42 -07:00
lzma.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
macpath.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
macurl2path.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
mailbox.py Add fixes to previous commit 2022-05-13 05:05:27 -07:00
mailcap.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
mime.types Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
mimetypes.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
modulefinder.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
netrc.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
nntplib.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
ntpath.py Add sys.meta_path entry for APE zip store (#425) 2022-06-26 05:51:00 -07:00
nturl2path.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
numbers.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
opcode.py Python 3.7 METH_FASTCALL backport (#406) 2022-05-13 05:05:12 -07:00
operator.py Make numerous improvements 2021-09-28 01:52:34 -07:00
optparse.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
os.py os.realname variable for correct USER_SITE value (#410) 2022-05-20 08:17:10 -07:00
pathlib.py Minimize Python startup imports (#292) 2021-10-25 14:04:04 -07:00
pdb.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
pickle.py Backporting METH_FASTCALL from Python 3.7 (#317) 2021-11-12 15:26:57 -08:00
pickletools.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
pipes.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
pkgutil.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
platform.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
plistlib.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
poplib.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
posixpath.py Make numerous improvements 2021-09-28 01:52:34 -07:00
pprint.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
profile.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
pstats.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
pty.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
py_compile.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
pyclbr.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
pydoc.py Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
queue.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
quopri.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
random.py Make numerous improvements 2021-09-28 01:52:34 -07:00
re.py Improve Python and Linenoise 2021-09-11 22:30:37 -07:00
reprlib.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
rlcompleter.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
runpy.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sched.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
secrets.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
selectors.py Make numerous improvements 2021-09-28 01:52:34 -07:00
shelve.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
shlex.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
shutil.py Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
signal.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
site.py os.realname variable for correct USER_SITE value (#410) 2022-05-20 08:17:10 -07:00
smtpd.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
smtplib.py Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
sndhdr.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
socket.py Improve open source compatibility 2022-09-08 03:19:35 -07:00
socketserver.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sre_compile.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sre_constants.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
sre_parse.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
ssl.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
stat.py Minimize Python startup imports (#292) 2021-10-25 14:04:04 -07:00
statistics.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
string.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
stringprep.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
struct.py Make numerous improvements 2021-09-28 01:52:34 -07:00
subprocess.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
sunau.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
symbol.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
symtable.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sysconfig.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
tabnanny.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
tarfile.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
telnetlib.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
tempfile.py Make numerous improvements 2021-09-28 01:52:34 -07:00
textwrap.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
this.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
threading.py Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
timeit.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
token.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
tokenize.py Make numerous improvements 2021-09-28 01:52:34 -07:00
trace.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
traceback.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
tracemalloc.py Make numerous improvements 2021-09-28 01:52:34 -07:00
tty.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
turtle.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
types.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
typing.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
uu.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
uuid.py Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
warnings.py Begin incorporating Python unit tests into build 2021-09-12 21:04:44 -07:00
wave.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
weakref.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
webbrowser.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
xdrlib.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
zipapp.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
zipfile.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00