Commit Graph
14 Commits
Author SHA1 Message Date
youknowdot 901431963b Sync ten Python format and utility modules with Python 3.15 (#9144)
* Update ten Python library modules to Python 3.15 final

Migrate dependency-ordered linecache, locale, _pydecimal, decimal, random, uuid, wave, _strptime, zipapp and poplib with their canonical tests and WAV fixtures using update_lib.

Assisted-by: OpenAI Codex:model version unavailable

* Align dependent datetime and warning tests with Python 3.15 final

Generate complete dependent tests and pure datetime through update_lib from CPython d220409a13b77de7a6c30abe16ea90db01528edc. Preserve the existing tracemalloc expected failure. Pass warning module metadata to WarningMessage, use sys context after stack exhaustion, and identify invalid category classes with the existing qualified-name helper.

Assisted-by: OpenAI Codex:model version unavailable
2026-10-15 21:59:44 +09:00
Shahar Naveh e71a955c99 Update some libs and tests to 3.14.7 (#8559)
* Update some libs

* Update some tests

* more tests

* test_pydoc.py

* test_mimetypes.py

* Restore json decoder

* reapply updaye
2026-08-23 00:13:15 +09:00
Shahar Naveh d9f1ca615f Update random.py to 3.14.5 (#7890) 2026-05-17 19:49:09 +09:00
CPython Developers 548db88331 Update random from v3.14.3 2026-02-28 22:50:51 +09:00
Myeongseon Choi d887e5c24c first copy from cpython v3.12.3 2024-11-11 00:17:30 +09:00
jyj 8c9a33b737 Update random/test_random from CPython v3.11.2 2023-03-25 17:05:45 +09:00
snowapril e009f12e3f Update random module to cpython 3.10 2022-02-06 14:56:39 +09:00
Padraic Fanning e766513ad3 Update random.py to CPython 3.9*
*for the most part, and keeps our annotations
2022-01-16 14:24:25 -05:00
Osman Turan 131c0b195d Add missing randbytes method on random 2021-10-03 05:38:16 +03:00
ChJR 215190e18b Fix ImportError on wasm. 2020-10-25 15:44:59 +09:00
ChJR 88c1b86ad1 Update random.py with CPython 3.7 version. 2020-10-25 01:48:31 +09:00
Noah 2b5e32aaab Make _random work on wasm 2020-02-14 10:49:53 -06:00
Noah 2fd9eb9a8a Add random.py from CPython 3.6 2020-02-03 18:21:52 -06:00
malkoG 8a3fb408dc Implement random module 2020-02-03 18:21:37 -06:00