Commit Graph

11205 Commits

Author SHA1 Message Date
Semyon Moroz 5da111e6d6 [ldap3] Use Incomplete instead of Any (#15054) 2025-11-20 09:32:37 +01:00
Semyon Moroz 8aa4874f53 [google-cloud-ndb] Use Incomplete instead of Any (#15055) 2025-11-20 09:31:32 +01:00
github-actions[bot] e19edcea11 [stubsabot] Remove pycountry as ships py.typed file (#15051)
Typeshed release: https://pypi.org/pypi/types-pycountry
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/pycountry

Co-authored-by: stubsabot <>
2025-11-18 20:29:53 -08:00
Guo Ci ba99abaf21 [stdlib] Correct IllegalMonthError, IllegalWeekdayError type stubs (#15050) 2025-11-18 19:46:39 +00:00
Semyon Moroz 6b4e7f1246 [typing] Deprecate no_type_check_decorator (#15048) 2025-11-18 12:36:48 +01:00
Sebastian Rittau 6387a6f9c1 Remove list return type from _BaseNetwork.hosts (#15047)
Per https://github.com/python/cpython/issues/141497#issuecomment-3546793394

Thanks to serhiy-storchaka for the notification
2025-11-18 02:58:44 -08:00
0az f1f85ee333 [stdlib] asyncio.Runner.run accepts Awaitables on Python 3.14+ (#15046) 2025-11-18 11:53:05 +01:00
Edge-Seven ce2998f285 Fix typo in deprecation message (#15044) 2025-11-18 10:31:21 +01:00
github-actions[bot] 98c5b95a66 [stubsabot] Mark pycountry as obsolete since 23.12.11 (#15035)
Release: https://pypi.org/pypi/pycountry/23.12.11
Homepage: https://github.com/flyingcircusio/pycountry
Repository: https://github.com/pycountry/pycountry
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/pycountry

Co-authored-by: stubsabot <>
2025-11-18 00:20:58 -08:00
Edgar Ramírez Mondragón 2618e150d0 [stdlib] Add a comment to the alias for the return type of urllib.request.urlopen (#15042) 2025-11-18 08:22:05 +01:00
Sebastian Rittau bbbf7530a9 [subprocess] Remove obsolete comment (#15040) 2025-11-17 13:39:10 +01:00
Alex Kirel 09da7a473b [antlr4-python3-runtime] Fixed multiple Incomplete (#15038) 2025-11-17 09:06:24 +01:00
Sebastian Rittau 58da238f50 [tkinter.constants] Use literal values for boolean constants (#15037) 2025-11-16 17:44:08 +02:00
Semyon Moroz d37ab65ec1 [html5lib] Improve serializer (#15036) 2025-11-16 15:19:44 +01:00
Guo Ci ebce8d766b [stdlib] Add overloads for sys.intern function for LiteralString inputs (#15034) 2025-11-15 21:44:51 +01:00
Jochem van Grondelle 63b498d240 [pycountry] Add stubs for pycountry (#15002) 2025-11-15 18:00:59 +01:00
Guo Ci 1ef6a70bc1 [stdlib][sys] Change return types to use Literal/LiteralString (#15032) 2025-11-15 17:59:04 +01:00
Semyon Moroz b4b633020a [psutil] Annotate few common attributes (#15031) 2025-11-15 14:18:16 +01:00
Semyon Moroz 0d25c8c73c [psutil] Complete OSX stubs (#15030) 2025-11-15 14:17:07 +01:00
lev-blit f8cdc0bd52 [hvac] remove most Incompletes (#15029) 2025-11-14 23:11:04 +01:00
Semyon Moroz 1dad9a5857 [compression] Add Protocol _Decompressor (#14885) 2025-11-14 22:23:15 +01:00
Guo Ci 684c0a6007 [stdlib] add importlib.util._incompatible_extension_module_restrictions (#15013) 2025-11-14 22:22:41 +01:00
Semyon Moroz 0d05183d9b [et-xmlfile] Add stubs (#14962) 2025-11-14 22:12:50 +01:00
Semyon Moroz 9fc1377a70 [yt-dlp] Update to 2025.11.12 (#15025) 2025-11-14 22:08:41 +01:00
lev-blit d5c02b1013 [docutils] Update to 0.22.3 (#14993) 2025-11-14 22:05:55 +01:00
lev-blit e10d41451f [python-dateutil] Add missing parameter annotations (#14996) 2025-11-14 22:05:09 +01:00
Semyon Moroz 354b33a70c [html5lib] Annotate more (#14994)
* Import `webencodings` to use `Encoding` class instead of `Protocol`
* Make `_inputstream.BufferedStream`, `filters.base.Filter`, `_utils.MethodDispatcher` generic
* Fix incorrect types in `_ihatexml.pyi`
* Add types for some attributes/methods
2025-11-14 22:04:22 +01:00
lev-blit d58177dd23 [pyxdg] Annotate Incompletes and fix getFiles return annotation (#15028) 2025-11-14 22:00:37 +01:00
Semyon Moroz 23c65436f5 [psutil] Complete Windows stubs (#15015) 2025-11-14 21:53:46 +01:00
Guo Ci ead68af433 [stdlib] Add HAS_PHA (#15016) 2025-11-14 21:52:29 +01:00
Sebastian Rittau c44315913b Remove obsolete pyright setting "reportShadowedImports" (#15027)
Removed in 1.1.406: https://github.com/microsoft/pyright/releases/tag/1.1.406
2025-11-14 12:45:16 -08:00
Guo Ci 0244ef7748 [stdlib][os] Change some str types to LiteralString (#15018) 2025-11-14 21:42:26 +01:00
lev-blit 79ac2bce40 [python-crontab] fill in incompletes (#15026) 2025-11-14 21:40:07 +01:00
Guo Ci 9309968211 [stdlib] Add __interactivehook__ to sys module (#15024) 2025-11-14 21:39:34 +01:00
Guo Ci 70fee29cc2 [stdlib][threading] Add threading.__excepthook__ (#15023) 2025-11-14 21:39:18 +01:00
Gabe R. c453da93bf Add TypeVars for the Iterators in select.select (#15022) 2025-11-14 21:26:19 +01:00
Semyon Moroz 0c0bad8831 [unittest] Improve annotations of three_way_cmp (#15003) 2025-11-14 17:02:11 +01:00
Semyon Moroz 191fa401ff [parsimonious] Update to 0.11.* (#15021) 2025-11-13 09:50:52 +01:00
Alex Waygood 5c8b7fcbbe Use stricter pyright config settings for all of pytz (#15014) 2025-11-11 13:38:47 +00:00
Semyon Moroz 017aed4dce [aws-xray-sdk] Annotate more (#15004) 2025-11-10 18:19:41 +01:00
Stan Ulbrych 4239e94a31 [tzdata] Add package stubs (#14997) 2025-11-10 10:19:58 +01:00
Semyon Moroz acff00e773 [ttkthemes] Update to 3.3.* (#15009) 2025-11-10 09:37:46 +01:00
Semyon Moroz e2bc120079 [psutil] Use Incomplete instead of Any (#15010) 2025-11-10 08:58:36 +01:00
Guo Ci 904ea9ec02 Add utf8_enabled attribute to IMAP4 class (#15006) 2025-11-09 21:16:47 +00:00
Guo Ci b96b61efad Add blocksize attribute to HTTPConnection class (#15005) 2025-11-09 21:01:50 +00:00
Ravencentric 5aea29705b make stat.FILE_ATTRIBUTE_* available on all platforms (#14866) 2025-11-08 17:43:53 +01:00
lev-blit e524443825 [python-dateutil] add some missing parameter types (#14992) 2025-11-07 22:00:29 +01:00
Guo Ci f7ff48e6cb sys.monitoring: Add/correct missing items (#14991) 2025-11-07 17:14:58 +01:00
lev-blit ba57b7dd32 [netaddr]: Annotate missing parameter types (#14990) 2025-11-07 17:05:25 +01:00
lev-blit ec2714cdb9 [pytz] Annotate parameter fill_iter (#14989) 2025-11-07 16:47:33 +01:00