cosmopolitan/third_party/python/Lib
Justine Tunney b0df6c1fce
Implement proper time zone support
Cosmopolitan now supports 104 time zones. They're embedded inside any
binary that links the localtime() function. Doing so adds about 100kb
to the binary size. This change also gets time zones working properly
on Windows for the first time. It's not needed to have /etc/localtime
exist on Windows, since we can get this information from WIN32. We're
also now updated to the latest version of Paul Eggert's TZ library.
2024-05-04 23:06:37 -07:00
..
asyncio Fix import asyncio (#763) 2023-03-11 23:29:03 -08:00
collections Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Losslessly recompress PNG files (#877) 2023-07-31 17:59:16 -07:00
importlib quick addition of cosmo pthreads to python.com 2023-02-23 06:55:17 -08:00
json Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
test Implement proper time zone support 2024-05-04 23:06:37 -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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
xmlrpc python-3.6.zip added from Github 2021-08-09 05:39:42 -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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Fix breakages in Linux-only build modes 2023-07-09 19:51:44 -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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
optparse.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
os.py Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
socketserver.py Make changes needed for new demo 2023-06-15 23:22:49 -07:00
sre_compile.py python-3.6.zip added from Github 2021-08-09 05:39:42 -07:00
sre_constants.py Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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 quick addition of cosmo pthreads to python.com 2023-02-23 06:55:17 -08: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 Stop using .com extension in monorepo 2024-03-03 03:12:19 -08: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