Commit Graph

78 Commits

Author SHA1 Message Date
Stephen Morton fe26deaee6 a close reading of the pickle module (#12971) 2024-12-03 20:03:54 -08:00
Stephen Morton 927302347f add another batch of encoding submodules (#13088) 2024-11-25 07:31:06 -08:00
Stephen Morton 0a541ad47f add multi-byte encodings submodules (#13093) 2024-11-25 12:14:59 +01:00
Stephen Morton 5d859ca366 Add _hashlib module (#13030) 2024-11-18 13:08:46 +01:00
Stephen Morton 68d05208d4 add _curses_panel module (#13028) 2024-11-17 17:52:17 +00:00
Stephen Morton 76537eb81b BZ2Compressor and BZ2Decompressor live in the _bz2 module (#12976) 2024-11-08 17:47:00 +01:00
Stephen Morton 65af6e48b5 LZMADecompressor, LZMACompressor, and LZMAError live in _lzma (#12977) 2024-11-08 17:46:29 +01:00
Stephen Morton 460c09d122 add _contextvars for proper naming (#12981)
On 3.9 and lower, the contextvars types call themselves builtins.*
which we can't and won't match. This improves naming fidelity for
3.10 and newer.
2024-11-08 17:45:59 +01:00
Stephen Morton 27286c6821 Struct class lives in _struct (#12980)
This one is an improvement on 3.9+. On 3.8, the Struct class
calls itself `builtins.Struct` instead, which we can't and won't
match. `struct.error` is defined in `_struct.c`, but always called
itself `struct.error`.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-11-07 20:10:50 -08:00
Stephen Morton a0165ae31a add _dbm and _gdbm to align naming of error types with runtime (#12978) 2024-11-07 17:21:46 -08:00
Stephen Morton 1c78402e8a SimpleQueue and Empty live in _queue (#12979) 2024-11-07 16:45:54 -08:00
Stephen Morton 0301510114 Naming and inheritance for importlib (#12775)
This MR breaks out _frozen_importlib_external (which is the same
thing as importlib._bootstrap_external) and _frozen_importlib
(which is the same thing as importlib._bootstrap).
2024-10-29 11:09:00 +01:00
Stephen Morton 494e832a74 fix up blake2b/blake2s classes (#12878) 2024-10-23 07:14:37 -07:00
Stephen Morton f83b6fadbe add _asyncio (#12766)
improves naming and inheritance for asyncio.Future and asyncio.Task

related to https://github.com/python/typeshed/issues/3968
2024-10-09 20:55:28 -07:00
Stephen Morton 2b1c7d55b9 re-sort io classes into _io (#12755)
This version keeps it simple and clean: No changes to class bodies.
The only changes here are moving between files and updating the
naming and inheritance.

Related to #3968 and split from #12740.
2024-10-08 21:32:10 -07:00
Stephen Morton 39650b43b5 add _sqlite3 module (#11174)
This aligns with the implementation while giving greater fidelity
to runtime naming and inheritance

Related to https://github.com/python/typeshed/issues/3968 and https://github.com/python/typeshed/issues/11141
2024-10-04 17:28:26 -07:00
Stephen Morton 4f37d8fff8 add _ssl module (#11155)
Really all I needed for fixing the inheritance was _ssl._SSLContext.
But then I needed all the other stuff in _ssl, and if I was doing that
I wanted to do a thorough job of it.

Motivation was originally related to https://github.com/python/typeshed/issues/3968 ,
but we're well beyond that now, really.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-10-01 20:10:51 -07:00
Max Muoto 85121de466 Update importlib resources for 3.13 (#12298) 2024-09-16 20:21:35 +02:00
Max Muoto 9e787769c6 Remove _msi in 3.13 (#12659) 2024-09-14 11:20:49 +02:00
Max Muoto 08c44b7895 Resolve importlib.metadata 3.13 issues (#12299) 2024-07-11 17:04:55 -07:00
Max Muoto e80ca57ba1 DBM updates for 3.13 (#12302) 2024-07-11 17:51:53 +02:00
Max Muoto 582f08bf7c Add _interpqueues for 3.13 (#12240) 2024-07-04 18:41:11 +02:00
Max Muoto 4faad91075 Add _interpreters module for 3.13 (#12230) 2024-07-03 21:33:07 -07:00
Max Muoto ae27935396 Add _interpchannels for 3.13 (#12199) 2024-06-26 17:13:47 +01:00
Pavel Karateev 587ad6bad8 tkinter.tix is removed in Python 3.13 (#12134)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-06-12 15:15:11 +01:00
Alex Waygood 0c3514d036 Sort VERSIONS alphabetically (#12133) 2024-06-12 16:03:32 +02:00
Shantanu 40349344ee lib2to3: remove in py313 (#11931) 2024-05-17 23:52:27 +02:00
Stephen Morton 764532356a add _lsprof module (#11159)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-02-16 08:38:49 -08:00
Sebastian Rittau 1b2cabce4d Remove macpath (removed in Python 3.8) (#11236) 2024-01-04 15:10:36 +01:00
Pavel Karateev c1137ee364 stdlib modules removed in Python 3.13 (PEP 594) (#11193) 2023-12-20 21:55:11 -08:00
Shantanu 1245faf0d5 Remove 2.7 from VERSIONS (#11185) 2023-12-20 14:31:22 +01:00
Stephen Morton a53bfebb3f add zipfile._path (#11150) 2023-12-18 14:45:20 +01:00
Stephen Morton fd558f8acf importlib.abc.Loader moved to importlib._abc.Loader in 3.10 (#11142) 2023-12-11 14:48:58 +01:00
Alex Waygood 56288ad2d0 Add stubs for importlib.(resources.)simple (#10931) 2023-10-28 07:29:57 -07:00
Alex Waygood 908993a807 Add stubs for importlib.(resources.)readers (#10928)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2023-10-26 14:18:55 +01:00
Alex Waygood b9640005eb Add stubs for nt (#10917) 2023-10-19 10:16:06 -07:00
Pavel Karateev 838dd3a5ba Add sys.monitoring from Python 3.12 (#10890)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-16 13:50:06 +01:00
Nikita Sobolev 5531e9d470 Add _locale module (#10859)
More accurately reflect the platform availability of several constants and functions in `locale`.
2023-10-08 12:55:19 +02:00
Nikita Sobolev 8eb5751084 Module imp was removed in 3.12 (#10278) 2023-06-08 07:49:25 +01:00
Nikita Sobolev c1a857a41a distutils package was removed in 3.12 (#10249) 2023-06-03 22:08:09 -07:00
Shantanu 1eeab77254 Update VERSIONS for the death of smptd (#10210) 2023-05-25 09:49:18 +01:00
Nikita Sobolev e666602d14 asyncore and asynchat will be removed in 3.12 (#9033) 2023-05-23 19:16:25 +02:00
Alex Waygood 75ecd7e229 importlib.resources is a package on 3.11+ (#9822) 2023-03-08 08:36:18 +00:00
junkmd 2066b9533c _ctypes: add stubs (#8582)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
2022-08-23 12:22:12 -07:00
Kevin Kirsche 5397d430ea Add multiprocessing.resource_tracker submodule (#8405) 2022-07-27 17:31:31 +01:00
Alex Waygood 5bc9554573 stdlib/VERSIONS: fix crusty comment (#8347)
Resolves #8310
2022-07-20 18:59:01 +02:00
Shantanu de1a79bd00 Make VERSIONS more accurate (#8311)
Some of the versions starting at 3.6 looked suspicious, so I
checked those against git history for the CPython repo.
2022-07-15 18:19:42 -07:00
Alex Waygood 27db37240a Remove files that only exist on <=3.6, update a few comments (#8273) 2022-07-12 09:12:32 +02:00
Jelle Zijlstra eab82c838a asyncio: updates for 3.11 (#7844)
CPython changes:

- https://github.com/python/cpython/commit/13c10bfb777483c7b02877aab029345a056b809c
- https://github.com/python/cpython/commit/9523c0d84f351a610dc651b234461eb015fa3b82
- https://github.com/python/cpython/commit/9f04ee569cebb8b4c6f04bea95d91a19c5403806
- https://github.com/python/cpython/commit/d03acd7270d66ddb8e987f9743405147ecc15087
- https://github.com/python/cpython/commit/195a46d6ffd4cec6c5fb69c5890f8b1758ac91ca

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-05-17 18:11:29 -07:00
Sebastian Rittau 499e74cf2a Add wsgiref.types (Python 3.11+) (#7644)
_typeshed.wsgi: Import from wsgiref.types in Python 3.11+

Make types match wsgiref.types
2022-04-16 21:36:31 +02:00