Nikita Sobolev
|
2ada15c4e4
|
Use Literal type in msvcrt (#7257)
|
2022-02-18 01:27:28 -08:00 |
|
Nikita Sobolev
|
90bdda8fd9
|
Remove _NNTPBase from nntplib (#7251)
|
2022-02-18 00:52:38 +02:00 |
|
Nikita Sobolev
|
1903038adb
|
Backport ossaudiodev availability to @python2 (#7236)
|
2022-02-16 11:22:51 +01:00 |
|
Nikita Sobolev
|
09395dd747
|
Add --disallow-untyped-decorators to mypy_test (#7235)
|
2022-02-16 01:47:52 -08:00 |
|
Nikita Sobolev
|
4293ad0483
|
optparse.check_choice returns value type (#7209)
|
2022-02-14 14:14:03 -08:00 |
|
Nikita Sobolev
|
f03d385012
|
ossaudiodev is not available on windows and darwin (#7204)
|
2022-02-14 22:02:38 +01:00 |
|
Nikita Sobolev
|
5014f9f50c
|
Improve __reduce__ signature accross stdlib (#7182)
|
2022-02-13 12:24:27 +01:00 |
|
Nikita Sobolev
|
6882e513c2
|
Improve Self type usage accross stdlib (#7183)
|
2022-02-13 12:21:01 +01:00 |
|
 Nikita SobolevandJelle Zijlstra
|
2ce1844905
|
Fix context type in pprint.PrettyPrinter.format (#7179)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
2022-02-12 11:51:29 -08:00 |
|
Nikita Sobolev
|
3b05794ba9
|
Improve poplib with Literal values (#7180)
|
2022-02-12 19:24:18 +02:00 |
|
 Nikita SobolevandAlex Waygood
|
418574f82c
|
Improve socketserver (#7073)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
2022-02-11 17:22:00 -08:00 |
|
Nikita Sobolev
|
9150db52a6
|
Improve pstats typing (#7174)
* Add __all__
* Use Literal for Stats.sort_stats() argument type.
* Add FunctionProfile, StatsProfile, and Stats.get_stats_profile() (Python 3.9+)
|
2022-02-11 12:30:00 +01:00 |
|
Nikita Sobolev
|
b0202f71eb
|
Update actions/github-script to v5 (#7151)
|
2022-02-08 14:09:36 -08:00 |
|
Nikita Sobolev
|
da1f46adae
|
Add precise types for underlying queue objects (#7157)
|
2022-02-08 07:06:59 -08:00 |
|
Nikita Sobolev
|
a906d54742
|
Improve pydoc typings (#7152)
Enforce same type HTMLDoc.multicolumn "list" and "format" arguments.
Annotate ModuleScanner.run "key" argument.
|
2022-02-08 13:54:57 +01:00 |
|
Nikita Sobolev
|
8cb1518bcd
|
Improve readline typings (#7141)
|
2022-02-06 11:31:19 +02:00 |
|
Nikita Sobolev
|
c42bfc5710
|
Add __all__ to runpy (#7140)
|
2022-02-05 20:23:47 +02:00 |
|
Nikita Sobolev
|
bdef0a70a6
|
Improve sched typings (#7138)
|
2022-02-05 07:36:43 -08:00 |
|
Nikita Sobolev
|
819f8dfc10
|
Improve ipaddress module (#7129)
|
2022-02-04 21:19:34 -08:00 |
|
Nikita Sobolev
|
1b99812621
|
Require coroutines for create_task() (#6779)
|
2022-02-02 13:35:00 +01:00 |
|
Nikita Sobolev
|
970b8a676c
|
Use async def instead of def ... -> Awaitable in typing (#7105)
|
2022-02-02 13:14:08 +01:00 |
|
Nikita Sobolev
|
9854926289
|
function argument in shutil.register_unpack_format must be Callable (#7083)
|
2022-01-30 11:29:36 -08:00 |
|
Nikita Sobolev
|
1a71371dda
|
Use dbm._TFlags in shelve.open (#7084)
|
2022-01-30 14:05:52 +01:00 |
|
Nikita Sobolev
|
54eef59fe4
|
Improve shlex.push_source types (#7071)
|
2022-01-29 11:41:19 +02:00 |
|
Nikita Sobolev
|
749d3db815
|
Make asyncio.isfuture a TypeGuard (#7057)
|
2022-01-28 11:08:31 -08:00 |
|
 Nikita SobolevandAlex Waygood
|
92d135a37c
|
Use TypeGuard in ElementTree.pyi (#7059)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
2022-01-28 11:33:45 +02:00 |
|
Nikita Sobolev
|
67766f282f
|
Use import instead of re-definition of constants in subprocess (#7065)
|
2022-01-28 00:09:33 -08:00 |
|
Nikita Sobolev
|
d43639d289
|
Improve asyncio.Future type (#7058)
|
2022-01-27 12:46:43 -08:00 |
|
Nikita Sobolev
|
97c490aec0
|
Fix sys.path_hooks type (#7049)
Docs: https://docs.python.org/3/library/sys.html#sys.path_hooks
|
2022-01-27 07:21:02 -08:00 |
|
Nikita Sobolev
|
9651f6fa04
|
Use better types for time.get_clock_info (#7040)
|
2022-01-26 11:09:31 +02:00 |
|
Nikita Sobolev
|
c52bddb459
|
Use existing type alias in timeit (#7039)
|
2022-01-26 10:51:26 +02:00 |
|
Nikita Sobolev
|
bfda5c640b
|
Add mixins module to asyncio (#6789)
|
2022-01-25 12:53:55 +01:00 |
|
Nikita Sobolev
|
20508d05f4
|
Use ParamSpec in unittest.case (#7012)
|
2022-01-25 10:25:28 +01:00 |
|
Nikita Sobolev
|
03a7ac59c9
|
Use @overload for sunau.open (#7033)
|
2022-01-25 10:22:56 +01:00 |
|
Nikita Sobolev
|
9a89e09753
|
Removed unused # noqa: F403 (#7032)
|
2022-01-25 09:21:11 +01:00 |
|
Nikita Sobolev
|
c8bfa511f7
|
Add TODO to support Concatenate in curses (#7018)
|
2022-01-24 12:13:18 +02:00 |
|
Nikita Sobolev
|
dc176d70ec
|
Use ParamSpec in unittest.async_case (#7011)
|
2022-01-23 13:54:06 -08:00 |
|
Nikita Sobolev
|
166d6c618c
|
Use ParamSpec in profile.Profile.runcall (#7010)
|
2022-01-23 13:34:40 -08:00 |
|
Nikita Sobolev
|
a4db42ee34
|
Use ParamSpec in pdb.runcall (#7009)
|
2022-01-23 13:34:34 -08:00 |
|
Nikita Sobolev
|
5b45601ed3
|
Use ParamSpec in cProfile.Profile.runcall (#7008)
|
2022-01-23 13:34:26 -08:00 |
|
Nikita Sobolev
|
2244bdfa15
|
Use ParamSpec in contextlib (#7007)
|
2022-01-23 13:22:05 -08:00 |
|
Nikita Sobolev
|
8502c8635f
|
Use ParamSpec for bdb.Bdb.runcall (#7006)
|
2022-01-23 13:17:16 -08:00 |
|
Nikita Sobolev
|
e6cf110100
|
Improve FunctionType.__get__ with @overload (#7005)
|
2022-01-23 12:38:09 -08:00 |
|
Nikita Sobolev
|
64bb71d7c1
|
Improve >, <, etc for UUID type (#7001)
|
2022-01-23 18:59:56 +01:00 |
|
Nikita Sobolev
|
c339159cbf
|
Improve wave.open type with overloads (#7000)
|
2022-01-23 14:39:31 +01:00 |
|
Nikita Sobolev
|
7ab84cfebf
|
Fix writeframes type in wave (#6997)
|
2022-01-22 12:11:58 -08:00 |
|
Nikita Sobolev
|
16e9292561
|
Use ParamSpec for weakref.finalize (#6992)
|
2022-01-22 07:26:37 -08:00 |
|
Nikita Sobolev
|
f5db1ccbbd
|
Use tuple of Literal types in functools.pyi (#6915)
|
2022-01-21 20:51:52 -08:00 |
|
Nikita Sobolev
|
70e51f6f20
|
Use Literal types in zlib (#6988)
|
2022-01-21 08:50:30 -08:00 |
|
 Nikita SobolevandAlex Waygood
|
7dd35556c4
|
Use more precise type for gettext.find (#6980)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
2022-01-20 18:43:18 +02:00 |
|
Nikita Sobolev
|
e553f8cb5a
|
Use stricter Random.seed type (#6924)
|
2022-01-19 22:23:41 -08:00 |
|
Nikita Sobolev
|
3d1014f389
|
Make all types in contexvars explicitly @final (#6966)
|
2022-01-19 07:12:32 -08:00 |
|
Nikita Sobolev
|
989fe11806
|
Use Literal type and improve callbacks in gc (#6950)
|
2022-01-18 17:32:19 +01:00 |
|
Nikita Sobolev
|
3cbdb5a1d2
|
Add __all__ to dis (#6947)
|
2022-01-18 06:56:24 -08:00 |
|
Nikita Sobolev
|
b47e97f2ea
|
Add __all__ to opcode and use Literal for constants (#6945)
|
2022-01-18 12:08:54 +02:00 |
|
Nikita Sobolev
|
61d876e4ea
|
Improve contextvars.Context not to use Any where possible (#6942)
|
2022-01-17 14:56:04 -08:00 |
|
Nikita Sobolev
|
18d746b6b0
|
Use ParamSpec for contextvars.Context.run (#6940)
|
2022-01-17 14:00:21 -08:00 |
|
Nikita Sobolev
|
141ac273ae
|
Remove Any from array.pyi (#6922)
|
2022-01-15 15:30:58 -08:00 |
|
Nikita Sobolev
|
74d043b9bb
|
Use Literal type in io and _compression (#6917)
|
2022-01-14 11:32:07 -08:00 |
|
Nikita Sobolev
|
cfcabfd33d
|
Use Literal types in ftplib (#6914)
|
2022-01-14 13:36:48 +01:00 |
|
Nikita Sobolev
|
f42de016b8
|
Remove misleading comment from staticmethod and classmethod (#6907)
|
2022-01-13 12:59:28 +01:00 |
|
Nikita Sobolev
|
e8cc83e62e
|
Use Literal type in configparser (#6900)
|
2022-01-12 08:18:24 -08:00 |
|
Nikita Sobolev
|
d108c19675
|
Use Literal type in datetime (#6899)
|
2022-01-12 08:12:23 -08:00 |
|
Nikita Sobolev
|
3101849451
|
Use Literal type in winsound (#6891)
|
2022-01-11 04:26:37 -08:00 |
|
Nikita Sobolev
|
a8c9c194b4
|
Improve cmp_op in opcode (#6884)
|
2022-01-10 12:07:04 +01:00 |
|
Nikita Sobolev
|
bb6a6e3421
|
Use Literal and __all__ in binhex (#6845)
|
2022-01-09 18:34:44 +01:00 |
|
Nikita Sobolev
|
34426dbc20
|
Change get_cache_token to return a NewType in _py_abc (#6872)
|
2022-01-09 18:33:45 +01:00 |
|
Nikita Sobolev
|
da3292d271
|
Use Literal type for BOM_* constants in codecs.pyi (#6873)
|
2022-01-09 18:31:15 +01:00 |
|
Nikita Sobolev
|
afb265ce84
|
Improve bdb with Literal and __all__ (#6844)
|
2022-01-09 18:40:35 +02:00 |
|
Nikita Sobolev
|
35c1d4f879
|
Remove __slots__ from builtins.object (#6800)
|
2022-01-09 18:27:24 +02:00 |
|
Nikita Sobolev
|
daf5b7a4af
|
Adds Literal and __all__ to cmd.pyi (#6847)
|
2022-01-09 18:21:02 +02:00 |
|
Nikita Sobolev
|
1fbc919ec8
|
Use Literal and __all__ in filecmp (#6852)
|
2022-01-08 13:07:33 +01:00 |
|
Nikita Sobolev
|
c4a68faf6c
|
Use Literal type in codecs (#6857)
|
2022-01-08 12:57:57 +01:00 |
|
Nikita Sobolev
|
28a5e6bb7a
|
Stricter platform checks for constants in fcntl (#6807)
|
2022-01-07 19:40:13 +01:00 |
|
Nikita Sobolev
|
5103f23de3
|
Fixes asyncio.events definition (#6811)
|
2022-01-07 19:25:12 +02:00 |
|
Nikita Sobolev
|
fe75ec69bf
|
Use ParamSpec for concurent.futures.Executor.submit (#6791)
|
2022-01-06 18:29:47 +02:00 |
|
Nikita Sobolev
|
a58a5bbed6
|
Use pos-only arguments in asyncio.gather (#6834)
|
2022-01-05 23:50:56 +02:00 |
|
Nikita Sobolev
|
ca7e0964c4
|
Use Literal types in csv (#6823)
|
2022-01-05 11:29:01 +01:00 |
|
Nikita Sobolev
|
73d5098e0b
|
Use Literal types in ast (#6824)
|
2022-01-05 11:27:58 +01:00 |
|
Nikita Sobolev
|
1527f67207
|
Use Literal types in calendar, add __all__ (#6827)
|
2022-01-05 11:26:29 +01:00 |
|
Nikita Sobolev
|
44f9e36952
|
asyncio.unix_events is not available on Windows (#6809)
|
2022-01-04 18:25:29 +02:00 |
|
Nikita Sobolev
|
4c61bdbccb
|
multiprocessing.pool: Use Literal and add __all__ (#6815)
|
2022-01-04 18:20:06 +02:00 |
|
 Nikita SobolevandAlex Waygood
|
73302d3bb8
|
Improve pty.pyi (#6806)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
2022-01-04 11:12:27 +02:00 |
|
Nikita Sobolev
|
6e45c3196d
|
Mark several asyncio modules as Windows-only (#6796)
|
2022-01-03 14:52:39 +01:00 |
|
Nikita Sobolev
|
96c836fc41
|
Use Literal types in windows_events (#6792)
|
2022-01-03 10:23:29 +01:00 |
|
Nikita Sobolev
|
0441c880b9
|
Use Literal in asyncio/constants.pyi (#6788)
|
2022-01-02 23:44:51 +01:00 |
|
Nikita Sobolev
|
bbd8c77b16
|
Use "async def" in asyncio/tasks.pyi (#6783)
|
2022-01-02 16:22:05 +01:00 |
|
Nikita Sobolev
|
03861b5a1d
|
Use Literal type for constans in asyncio/tasks (#6781)
|
2022-01-02 12:42:00 +02:00 |
|
Nikita Sobolev
|
686dba35b5
|
Use Literal type for concurrent states (#6780)
|
2022-01-02 12:27:02 +02:00 |
|
Nikita Sobolev
|
764abe8cff
|
Add .editorconfig file (#6771)
|
2022-01-01 13:31:10 +01:00 |
|
Nikita Sobolev
|
6da5eb2d04
|
Backport platform specific code to python2 (#6772)
|
2022-01-01 13:26:20 +01:00 |
|
Nikita Sobolev
|
6bdc158e61
|
Use Literal types in syslog (#6774)
|
2022-01-01 14:19:05 +02:00 |
|
Nikita Sobolev
|
f65d93618d
|
Mark bdist_msi to be Windows-only on python2 (#6768)
|
2021-12-31 13:15:47 +01:00 |
|
Nikita Sobolev
|
9c8f0d1240
|
Restore Literal for CO_* constants in inspect.pyi (#6766)
First pushed in #6764, accidentally reverted in #6765
|
2021-12-30 17:00:35 -06:00 |
|
Nikita Sobolev
|
caee9b0bea
|
inspect.Parameter: several attributes are read-only (#6765)
|
2021-12-30 16:02:46 -06:00 |
|
Nikita Sobolev
|
113cd0d49c
|
Use Literal for CO_* constants in inspect.pyi (#6764)
|
2021-12-30 22:50:10 +01:00 |
|
 Nikita SobolevandAlex Waygood
|
026b219a1d
|
Literal types in inspect: getcoroutinestate and getgeneratorstate (#6759)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
2021-12-30 20:40:50 +02:00 |
|
Nikita Sobolev
|
8f13f94605
|
Re-export _stat.pyi symbols in stat.pyi (#6758)
|
2021-12-30 19:10:41 +02:00 |
|
Nikita Sobolev
|
971a738c8e
|
Add more constants to _winapi (#6754)
|
2021-12-30 17:06:58 +02:00 |
|
Nikita Sobolev
|
6ca1dad2a2
|
Use Literal types for _winapi (#6752)
|
2021-12-30 14:04:42 +01:00 |
|