Jelle Zijlstra
c2c8d7cf5d
stdlib: Apply some simple deprecations ( #11044 )
2023-11-23 09:03:01 +01:00
Nikita Sobolev
23bb0494ab
Update pkgutil.pyi for Python3.12 ( #10281 )
2023-06-08 08:37:15 +01:00
Jelle Zijlstra
ddfaca3200
stdlib: add argument default values ( #9501 )
2023-01-18 09:37:34 +01:00
Alex Waygood
8b3b6bf7cd
stdlib: Audit Callable[<parameters>, None] annotations ( #8187 )
2022-06-27 08:08:28 +02:00
Alex Waygood
97a74bc1aa
Import from collections.abc wherever possible ( #7635 )
2022-04-18 12:50:37 +02:00
Marc Mueller
37a981920f
Use TypeVar for pkgutil.extend_path ( #7473 )
2022-03-18 20:44:38 -07:00
Alex Waygood
d6ce3abd68
Add __all__ to most modules beginning with 'n', 'o' and 'p' ( #7345 )
2022-02-21 17:57:03 -08:00
Arie Bovenberg
267bb2485a
pkgutil.get_loader may return None ( #6861 )
2022-01-08 20:30:24 +02:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Sebastian Rittau
841a365284
Remove compatibility aliases ( #5464 )
...
* Remove compatibility aliases
Remove a few instances of Text
Use aliases from _typeshed
* Remove unused imports
2021-05-15 20:49:20 +03: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
Shantanu
3d8bffae80
pkgutil: returns a List[str] usually ( #5222 )
...
Yes, technically it returns whatever its first argument is if it isn't
a list.
Doing this because https://github.com/python/mypy/pull/9454#issuecomment-820661189
2021-04-15 12:43:53 -07:00
hatal175
bf201c8201
Various stubtest fixes ( #5215 )
2021-04-14 19:14:07 -07:00
Anton Agestam
0afc2f9f43
pkgutil: Add resolve_name() for 3.9+ ( #5000 )
2021-02-02 17:08:28 +01: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