Alex Waygood
240628c4dd
Add missing objects to plistlib, and improve __all__ in asyncio.tasks, http.server, & multiprocessing.__init__ ( #7363 )
2022-02-22 16:39:34 -08:00
Alex Waygood
070bbb4fb9
Add multiprocessing.reduction submodule ( #7361 )
2022-02-22 16:36:26 -08:00
Alex Waygood
22c3cc4d0b
Add csv.__version__ ( #7357 )
2022-02-22 20:12:43 +02:00
Alex Waygood
6fc4c14181
Add missing objects in codecs, configparser, and multiprocessing.dummy ( #7360 )
2022-02-22 18:25:27 +01:00
Alex Waygood
bdcaea4305
cgi: Add print_exception and print_arguments (#7359 )
2022-02-22 08:38:02 -08:00
Sebastian Rittau
7a81bd41e9
Re-introduce the 'stubtest' key for third-party packages ( #7351 )
...
Some distributions can't be tested with stubtest for a variety of
reasons or because of bugs in stubtest. This key:
* let's us keep metadata about a distribution in one place,
* prevents us from modifying the scripts because of issues with a
specific distribution, and
* will trigger tests if only the key is changed.
2022-02-22 15:59:27 +01:00
Shantanu
c2fb0fb814
Downgrade stubtest a little ( #7346 )
...
Fixes #7344 for now.
As discussed in that issue, I think it might make sense to revert the
change to check positional-only arguments on dunders for now, since it
seems to be mostly busywork and has very little benefit for end users.
However, that'll happen on stubtest master, which typeshed isn't yet
ready for.
Co-authored-by: hauntsaninja <>
2022-02-21 17:05:46 -08:00
Shantanu
075b8e02eb
Update stubtest for async and dunder pos only checking ( #7333 )
...
Co-authored-by: hauntsaninja <>
2022-02-21 15:54:16 -08:00
Nikita Sobolev
4d169eaa83
Adds bdist_wininst definition ( #7249 )
2022-02-20 22:58:48 -08:00
Alex Waygood
07de01f29e
Add __all__ to modules beginning with 'm' ( #7330 )
2022-02-20 14:08:07 -08:00
Shantanu
823592e100
Update stubtest for final checking ( #7312 )
...
Co-authored-by: hauntsaninja <>
2022-02-19 18:53:15 -08:00
Alex Waygood
b74acc7546
Add all the email __all__s ( #7304 )
2022-02-19 17:53:29 -08:00
Shantanu
ebdbd564be
sqlalchemy: skip stubtest for now ( #7310 )
...
Co-authored-by: hauntsaninja <>
2022-02-19 17:47:55 -08:00
Shantanu
879b617366
Update stubtest for submodule versions, typeddict fix ( #7306 )
...
First step in #7305
Co-authored-by: hauntsaninja <>
2022-02-19 15:53:40 -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
Alex Waygood
28a760cd2c
Improve pyclbr.pyi ( #7229 )
2022-02-16 07:01:27 -08:00
Nikita Sobolev
09395dd747
Add --disallow-untyped-decorators to mypy_test ( #7235 )
2022-02-16 01:47:52 -08:00
Alex Waygood
5e8a2a9364
Fix various pos-only stubtest complaints previously allowlisted ( #7228 )
2022-02-15 17:51:34 +01:00
Alex Waygood
96b06adf2c
Add missing descriptor methods in dataclasses and functools ( #7203 )
2022-02-15 06:45:49 -08:00
Alex Waygood
03dbe2206c
Improve pathlib stubs ( #7181 )
2022-02-12 18:42:04 -08:00
Nikita Sobolev
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
Alex Waygood
348c38a0dd
Improve __all__ definitions for threading and _dummy_threading modules ( #7135 )
2022-02-05 08:07:02 -08:00
Eric Traut
90695fadd1
Updated pyright to latest version ( #7132 )
2022-02-04 21:09:00 -08:00
Sebastian Rittau
2dc53caffe
Improve abc module and builtin function decorators ( #5703 )
2022-02-02 16:22:32 +01:00
Nipunn Koorapati
90f5422df7
Add/fix types to a bunch of non-generated protobuf files ( #7017 )
2022-02-02 12:30:39 +01:00
Andrew Svetlov
56aa2088aa
Add BufferedProtocol.eof_received() ( #7043 )
2022-01-27 12:09:29 +01:00
Nikita Sobolev
bfda5c640b
Add mixins module to asyncio ( #6789 )
2022-01-25 12:53:55 +01:00
Alex Waygood
a9ae6b246c
Remove many checks from check_new_syntax.py ( #7023 )
...
These are now checked by the flake8-pyi plugin, which is better tested and more comprehensive. Removing these checks from `check_new_syntax.py` will reduce the risk of a contributor getting two nearly identical error messages for the same line in a PR.
2022-01-24 07:30:27 -08:00
Versus
556e623a81
Add mmap.MAP_POPULATE from 3.10 ( #6964 )
2022-01-20 14:30:27 +01:00
Akuli
b77f994801
Improve _tkinter ( #6908 )
2022-01-13 17:05:20 +02:00
Akuli
e743ea9ca7
Improve turtle.ScrolledCanvas ( #6757 )
2022-01-09 11:24:45 -08:00
Sebastian Rittau
f4ce1ebaf8
Use positional-only arguments for IO ( #6851 )
2022-01-08 20:49:29 +02:00
Alex Waygood
a40d79a4e6
Use lowercase type everywhere ( #6853 )
2022-01-08 16:09:29 +01:00
Sebastian Rittau
38811a4495
Fix check consistent ( #6860 )
2022-01-08 15:35:42 +02:00
Nikita Sobolev
28a5e6bb7a
Stricter platform checks for constants in fcntl ( #6807 )
2022-01-07 19:40:13 +01:00
Sebastian Rittau
2ad8db51ad
Update to mypy 0.931 ( #6850 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-01-07 19:21:10 +01:00
Sebastian Rittau
e77a66aced
Update pyright ( #6840 )
2022-01-07 18:58:15 +02:00
Joseph Young
ff64deb331
Add missing function attributes to builtins.function ( #6804 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-01-04 20:41:59 +02:00
Alex Waygood
582f1e9c5f
Make os.path.join() first parameter pos-only ( #6812 )
2022-01-04 15:38:46 +01:00
Alex Waygood
505ea72641
Never explicitly inherit from object in Python 3-only stubs ( #6777 )
2022-01-02 07:24:48 +01:00
Alex Waygood
e434b23741
Allowlists: move entries relating to __all__ weirdness to their own section ( #6767 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-12-31 14:31:18 +02:00
Akuli
0f7dbd811e
move stat.FILE_ATTRIBUTE_* to _stat.pyi and fix availability ( #6761 )
2021-12-30 13:07:28 -06:00
Akuli
7fc402a6d0
Move IO_REPARSE_TAG_* constants to _stat ( #6760 )
2021-12-30 18:26:57 +01:00
Alex Waygood
7b4241b03f
Allowlists: mark several entries as wontfix, add note to inspect.Parameter entries ( #6756 )
2021-12-30 18:26:48 +02:00
Nikita Sobolev
971a738c8e
Add more constants to _winapi ( #6754 )
2021-12-30 17:06:58 +02:00
Alex Waygood
496313d875
Add various missing os constants ( #6753 )
2021-12-30 15:21:30 +02:00
Akuli
a89e5bb0cf
Relax check_new_syntax.py to allow elif statements for old versions ( #6729 )
2021-12-29 18:50:11 +02:00
Alex Waygood
a82a4bc62b
email: add Message methods ( #6731 )
...
Add `email.message.Message` methods, mark `email.iterators.walk` as wontfix
2021-12-29 10:40:06 -06:00