Commit Graph

10055 Commits

Author SHA1 Message Date
Stephen Morton
d84476ca57 add os.__all__ (#13052) 2024-11-21 10:56:21 +01:00
Stephen Morton
32f48a5eae add several NamedTuple base classes (#12987) 2024-11-21 10:52:31 +01:00
Stephen Morton
0fb3a092c7 Miscellaneous type_check_only annotations (#13058) 2024-11-21 08:41:38 +00:00
Stephen Morton
ae7f6ea59c clean up allowlist for gevent (#13056) 2024-11-20 19:43:11 -08:00
Stephen Morton
fd6f10c8d1 cpython -> CPython (#13050) 2024-11-20 19:51:30 +01:00
Konstantin Baikov
1cbfc75325 Fix pywin32 GetClipboardData return type (#13046)
Fixes #12825
2024-11-20 09:44:41 -05:00
Stephen Morton
308a09f056 Clean up/rework socket constants and add __all__ (#13044) 2024-11-20 14:05:11 +01:00
Stephen Morton
be624e5124 add email.__all__ (#13047) 2024-11-20 13:57:41 +01:00
Stephen Morton
971f0c64c6 Add xml.__all__, remove import not existing at runtime (#13048) 2024-11-20 13:56:44 +01:00
Rebecca Chen
921c65304e Annotate TypedDict as _SpecialForm rather than object. (#12985)
* Annotate TypedDict as _SpecialForm rather than object.

Let's see if this works...

* Get typing_extensions.TypedDict as well, try to fix tests.

* Import typing_extensions.TypedDict, delete _SpecialForm.__getitem__.

* Back out deletion of _SpecialForm.__getitem__.
2024-11-19 22:50:42 -08:00
Avasam
4addb8dd0b setuptools & distutils: more accurate spawn method (#13036) 2024-11-19 03:50:38 -08:00
Avasam
6db3e0cec5 check_distutils test: Make the file path of missing setuptools distutils files more obvious (#13037) 2024-11-19 03:50:02 -08:00
Stephen Morton
3c869a3165 add zipfile._path.__all__ (#13040) 2024-11-19 03:49:17 -08:00
Stephen Morton
5903805b91 add email._policybase.__all__ (#13041)
add email._policybase.__all__
2024-11-19 03:48:55 -08:00
Stephen Morton
9eb54bc710 add importlib.resources.abc.__all__ (#13039) 2024-11-19 05:53:43 +01:00
Stephen Morton
6647ae9bc7 improvements for hidden types in the sys module (#13031)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-11-18 22:55:03 +00:00
renovate[bot]
e15967b07e Update dependency aiohttp to v3.10.11 [SECURITY] (#13042)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 22:38:52 +00:00
Danny Yang
2cc71de3c3 Update tqdm to 4.67.* (#13004) 2024-11-18 13:09:35 +01:00
Stephen Morton
5d859ca366 Add _hashlib module (#13030) 2024-11-18 13:08:46 +01:00
Avasam
eea59f673b Update setuptools return types (#12991) 2024-11-18 13:00:54 +01:00
Joren Hammudoglu
480b1ac2e6 Only accept type[Self] in the object.__class__ setter (#13021) 2024-11-18 12:34:36 +01:00
Stephen Morton
b2c964fdea Make inheritance and metaclass of ctypes better match reality (#12982) 2024-11-18 12:32:20 +01:00
Stephen Morton
780626ee36 Fix webbrowser.MacOSX.__init__ (#13035) 2024-11-18 11:10:35 +00:00
Stephen Morton
631c9924cf improve unexposed zlib types (#13032)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-11-18 07:40:30 +00:00
Stephen Morton
2419d7520b Improve datetime._IsoCalendarDate (#13029) 2024-11-17 18:02:29 +00:00
Stephen Morton
68d05208d4 add _curses_panel module (#13028) 2024-11-17 17:52:17 +00:00
Shantanu
b4cd0bdf1b waitress: fixes for latest (#13027) 2024-11-17 00:34:23 +00:00
Stephen Morton
0231342048 Improve stubs for decimal.DecimalContext (#13025) 2024-11-17 00:33:07 +00:00
Stephen Morton
73a55e76be updates for _dbm._dbm (#13024) 2024-11-17 00:26:59 +00:00
Stephen Morton
405b1bdb2f curses._ncurses_version updates (#13023)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-11-16 23:16:34 +00:00
Stephen Morton
2a1a2229cb mark _codecs.EncodingMap as final (#13022) 2024-11-16 23:03:03 +00:00
Stephen Morton
f554f54673 The four protocol-like ABCs outside of collections.abc inherit from ABC directly (#13005) 2024-11-16 19:00:39 +01:00
Stephen Morton
7c7629d909 add typing._Final (#13015)
This is the subset of typing module internal base classes
that are stable over all supported versions of python.
2024-11-16 16:55:38 +01:00
Mikael Lindemann
dfbbf168c9 [pysftp] Logging attribute can be bool or str (#13018) 2024-11-16 16:48:26 +01:00
Danny Yang
2aa99e6854 Bump peewee to 3.17.8 (#13014) 2024-11-16 16:46:12 +01:00
Sebastian Rittau
e718a7363f [Deprecated] Update to 1.2.15 (#13020) 2024-11-16 16:30:53 +01:00
Alex Waygood
6d21e34d78 Improve the definition of os._ScandirIterator (#13013) 2024-11-15 21:33:32 +00:00
github-actions[bot]
8cdc1c141b [stubsabot] Bump setuptools to 75.5.* (#13017)
Release: https://pypi.org/pypi/setuptools/75.5.0
Repository: https://github.com/pypa/setuptools
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v75.4.0...v75.5.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `setuptools/config/pyprojecttoml.py`.
 - Total lines of Python code added: 0.
 - Total lines of Python code deleted: 20.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2024-11-15 07:40:54 +00:00
renovate[bot]
5052fa2f18 Update dependency pyright to v1.1.389 (#13012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 09:51:56 +01:00
Danny Yang
e1205f0bfc Update gevent to 24.11.* (#13003) 2024-11-13 20:03:56 -08:00
Danny Yang
1be2c08869 Update networkx stubs for 3.4.2 (#13001) 2024-11-13 20:03:01 -08:00
Danny Yang
8f21da5bee Update setuptools to 75.4.* (#13002) 2024-11-13 20:01:23 -08:00
Preethi
51d0f0194c Support Writeable Zipfile on workbook.save (#13009) 2024-11-13 16:45:49 +01:00
Danny Yang
af4df4eb24 Bump boltons to 24.1.* (#12970)
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-11-12 13:11:47 +00:00
InSync
986e9e3830 Fraction.__new__ now accepts anything with .as_integer_ratio() (#12994)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-11-12 12:57:54 +00:00
Stephen Morton
074cef02a5 add multiprocessing.managers._BaseDictProxy (#12951)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-11-12 12:47:02 +00:00
傅立业(Chris Fu)
94f458f2df Add trackfd onto mmap.mmap constructor (#13000) 2024-11-11 18:32:00 -08:00
Avasam
300204c683 setuptools._distutils._msvccompiler.MSVCCompiler non-None ClassVars (#12995) 2024-11-11 13:45:05 -05:00
Ali Hamdan
a870a4e63a Remove numpy pins from several stubs (#12993) 2024-11-11 17:47:11 +01:00
Rebecca Chen
ea368c7269 Type __call__ on builtins._NotImplementedType as None. (#12984)
Currently, this is intentionally incorrectly typed in order to produce a
better mypy error message. But pyright (and presumably other type checkers)
end up just treating instances of _NotImplementedType as callable.

With this change, the mypy error message gets a little worse, but other type
checkers can understand that instances of _NotImplementedType aren't
callable, which I think is an improvement.
2024-11-08 13:05:56 -08:00