Max Muoto
465fdaad48
Update pydoc for Python 3.13 ( #12305 )
2024-07-09 22:44:02 -07:00
Alex Waygood
ac6c61ba04
Stubtest stdlib: unpin 3.11 and 3.12 micro versions ( #12022 )
2024-05-23 13:24:28 -07:00
Sebastian Rittau
53a8193d64
Update typing_extensions imports in stdlib ( #11244 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2024-01-05 08:15:19 -08:00
Alex Waygood
4ae6d38f96
Use latest Python for stubtest in CI ( #10641 )
2023-08-30 18:50:11 +02:00
Nikita Sobolev
57c435cd7e
Update pydoc for 3.12 ( #10467 )
2023-07-16 11:28:56 +01:00
Kirill Podoprigora
f3a0be32fe
Add is_cli param to pydoc.pyi ( #10331 )
2023-06-21 14:58:03 +01:00
Sebastian Rittau
027460f11a
Remove unnecessary ellipsis expressions ( #9976 )
...
Ignore flake8 F821 warnings in stub files
2023-03-29 13:28:06 +02:00
Alex Waygood
dd2818a41d
Stdlib: add container default values ( #9909 )
2023-03-21 09:12:34 +01:00
Károly Szabó
133b9a04cf
[pydoc] safeimport can return None ( #9856 )
2023-03-08 19:48:16 +00:00
Avasam
a768744d51
Type and mark as final module-level dunders not meant to be overwritten in stdlib/ ( #9709 )
2023-02-12 16:15:20 +00:00
Alex Waygood
33a62ae42d
Add more defaults to the stdlib ( #9606 )
...
Continuing work towards #8988 .
The first five commits were created using stubdefaulter on various Python versions; the following commits were all created manually by me to fix various problems. The main things this adds that weren't present in #9501 are:
- Defaults in Windows-only modules and Windows-only branches (because I'm running a Windows machine)
- Defaults in non-py311 branches
- Defaults for float parameters
- Defaults for overloads
2023-01-29 01:51:23 +00:00
Alex Waygood
d98d1674e7
Fix a few issues with parameter defaults ( #9572 )
2023-01-20 09:47:59 -08:00
Jelle Zijlstra
ddfaca3200
stdlib: add argument default values ( #9501 )
2023-01-18 09:37:34 +01:00
Avasam
c70d303985
Audit stdlib object annotations ( #9519 )
2023-01-17 15:40:00 +00:00
Nikita Sobolev
e6b00f1eb6
pydoc.ispath is a TypeGuard (#8899 )
2022-10-14 22:36:07 +01:00
Nikita Sobolev
380022c650
Remove empty __init__ methods ( #8816 )
2022-09-30 13:08:41 +01:00
Nikita Sobolev
0259068ad6
Remove duplicate definitions in sub-classes ( #8594 )
2022-08-26 17:10:55 +02:00
Alex Waygood
fffb25201a
Delete some works of fiction ( #8247 )
2022-07-06 22:49:18 +05:30
Alex Waygood
8b3b6bf7cd
stdlib: Audit Callable[<parameters>, None] annotations ( #8187 )
2022-06-27 08:08:28 +02:00
Jelle Zijlstra
39c777f70c
pydoc: 3.11 changes ( #7910 )
2022-05-21 17:49:39 +02:00
Alex Waygood
a8504f269e
Use _typeshed.OptExcInfo in pydoc and unittest ( #7668 )
2022-04-20 21:00:48 +01:00
Alex Waygood
b093c90a94
Use TypeAlias for type aliases where possible, part II ( #7667 )
2022-04-20 20:02:47 +01:00
Alex Waygood
97a74bc1aa
Import from collections.abc wherever possible ( #7635 )
2022-04-18 12:50:37 +02:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Alex Waygood
ea6e06a60d
Use bound methods in pydoc ( #7426 )
2022-03-06 15:49:15 -08:00
Alex Waygood
a0b41959ec
stdlib: fix many attributes which are read-only at runtime but read-write in the stub ( #7395 )
2022-02-27 16:23:09 -08:00
Alex Waygood
d6ce3abd68
Add __all__ to most modules beginning with 'n', 'o' and 'p' ( #7345 )
2022-02-21 17:57:03 -08:00
Alex Waygood
a599af5c74
Make pydoc.Doc an abstract class ( #7200 )
2022-02-16 07:01:48 -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
Alex Waygood
3e6375e606
Delete commented-out pydoc.Scanner class ( #7100 )
2022-02-01 19:46:51 +02:00
Alex Waygood
a40d79a4e6
Use lowercase type everywhere ( #6853 )
2022-01-08 16:09:29 +01:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Alex Waygood
65f0e8b770
Improve pydoc stubs ( #6554 )
2021-12-09 14:28:35 +01:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Akuli
9af9cca7f3
lowercase list and dict in the rest of stdlib ( #5892 )
2021-08-09 00:13:08 +02:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Sebastian Rittau
6a9c89e928
Replace 'Text' with 'str' in py3 stdlib ( #5466 )
2021-05-16 07:10:48 -07:00
Akuli
17dcea4a68
Akuli and srittau: Remove Python 2 branches from Python 3 stubs ( #5461 )
...
* run script and do some manual changes (Akuli)
* do the whole thing manually (srittau)
* merge changes (Akuli)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2021-05-15 15:33:39 +03:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00