Commit Graph

57 Commits

Author SHA1 Message Date
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:

- 13c10bfb77
- 9523c0d84f
- 9f04ee569c
- d03acd7270
- 195a46d6ff

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
Taneli Hukkinen
31b11c6eae Add type hints for tomllib (#7432) 2022-03-03 15:04:33 -08:00
Alex Waygood
07de01f29e Add __all__ to modules beginning with 'm' (#7330) 2022-02-20 14:08:07 -08:00
Guido van Rossum
35bddd289f Add asyncio.taskgroups and new Task methods (#7240)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-02-17 00:32:20 +02:00
Alex Waygood
5a8b9dafb3 Fix various py310 stubtest errors (#7239) 2022-02-16 11:47:49 -08:00
Nikita Sobolev
bfda5c640b Add mixins module to asyncio (#6789) 2022-01-25 12:53:55 +01:00
Alex Waygood
7d33ff330a Clean up several version-dependent modules (#6885) 2022-01-10 05:57:08 -08:00
Alex Waygood
84fd495b65 Update importlib to reflect recent changes (#6557) 2021-12-10 14:32:55 +01:00
Akuli
b3e8073bac Create unittest._log stub and improve _AssertLogsContext (#6428)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2021-11-30 21:39:14 -08:00
Shantanu
c47ed98b3e dummy_thread/ing: remove in 3.9 (#6408)
https://bugs.python.org/issue37312
2021-11-27 20:50:14 -08:00
Alex Waygood
9707cb00f6 Python 3.11 removals in stdlib (#6374)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-25 19:34:12 +02:00
Shantanu
8576b344b8 binhex: removed in py311 (#6011) 2021-09-10 15:27:24 -07:00
Akuli
200260e685 move DndSource to tkinter/dnd.pyi (#5588) 2021-06-07 07:07:57 -07:00
Rebecca Chen
a4075472d3 Add some submodule versions to stdlib/VERSIONS. (#5573)
Adds some version ranges for submodules that are available in different
versions that their parent modules.

I noticed these while updating pytype's pinned typeshed commit. pytype
can't actually use this submodule version information yet, but from what
I understand, all type checkers at least handle this information
gracefully (by ignoring it), so it doesn't hurt to add it.

* collections.abc is available in Python 3.3 and later. _collections_abc
  is imported by the collections.abc stub, so its version range is also
  changed from 3.6- to 3.3-.
* _typeshed.tkinter needs to be 3.0-, since it imports tkinter, which is
  marked as 3.0-.
* importlib.metadata is available in 3.8 and later.
2021-06-03 18:15:47 -07:00
Sebastian Rittau
6ee67483a3 Rework socket (#5545)
* Extract _socket.pyi from socket.pyi.
* Extract _socket.socket from socket.socket.
* Fix socket.family annotation.
* Annotate SocketIO properly.
* SocketType is an alias of _socket.socket.
* Sort items in socket.pyi in the same order as in socket.py.
* Remove socket.EINTR.
* Use _typeshed.WriteableBuffer instead of custom alias.
* Add errorTab (Windows only).
* Add _socket.dup().
* Mark positional-only argments.
* Remove constructors from socket exceptions.
* socket.timeout is an alias for TimeoutError, starting with Python 3.10.
* Use PEP 604 in changed lines.
* Add alias for fileno arguments.
* getaddrinfo() port can be bytes.
* Explicitly override some SSLSocket methods.
* Allow ReadableBuffer in _CMSG arguments.
2021-05-30 20:17:33 +02:00
Jukka Lehtosalo
e5459900c0 Make html, ipaddress, reprlib and winreg only available on Python 3 (#5502)
None of these are available in Python 2.7.
2021-05-19 12:16:10 +01:00
Sebastian Rittau
54a0bd80ee Add a comment about _typeshed to VERSIONS (#5447) 2021-05-19 11:01:33 +02:00
Sebastian Rittau
dbe77b6ae9 importlib.resources was added in 3.7 (#5468)
Describe sub-module versioning
2021-05-16 07:04:28 -07:00
Jelle Zijlstra
a47ee3245a fix renamed Python 2 modules (#5450) 2021-05-14 14:36:00 -07:00
Sebastian Rittau
322396bb32 configparser available since Python 3.0 (#5443)
It was called ConfigParser in Python 2.

Split out from #5442.
2021-05-14 05:24:50 -07:00
Sebastian Rittau
d98fdd934c Move VERSIONS description to file itself (#5434) 2021-05-13 06:14:44 -07:00
Sebastian Rittau
1eb64b4372 Mark stdlib modules with upper version bounds (#5394)
* Mark stdlib modules with upper version bounds

* Add minus to all versions and enforce in check_consistent

* Fix check_consistent and mypy_test to work with new VERSIONS format
2021-05-10 16:29:43 +03:00