Sebastian Rittau
|
9a6b500909
|
Add various missing undocumented functions (#4554)
Mostly addresses #2149
|
2020-09-19 22:59:35 -07:00 |
|
Shantanu
|
8642d2aa97
|
pkgutil, sys: make types more precise (#4536)
Co-authored-by: hauntsaninja <>
|
2020-09-16 10:38:27 +02:00 |
|
Jelle Zijlstra
|
5d553c9584
|
apply black and isort (#4287)
* apply black and isort
* move some type ignores
|
2020-06-28 13:31:00 -07:00 |
|
Sebastian Rittau
|
ec7960a8cb
|
Convert namedtuples to class syntax (#3321)
|
2019-10-20 10:37:33 +02:00 |
|
Sebastian Rittau
|
61d5f76a1d
|
find_loader() can return None (#3341)
|
2019-10-11 10:48:48 -07:00 |
|
Daniel Li
|
e02eb70cb3
|
pkgutil.iter_modules accepts iterable of str (#2195)
|
2018-06-05 09:58:51 -07:00 |
|
Christopher Schramm
|
7f34bbcb88
|
Add pkgutil.ModuleInfo (#2010)
|
2018-04-04 15:15:43 -07:00 |
|
Kenny Do
|
26ea6c0740
|
pkgutils.walk_packages takes optional list of str for path (#1725)
|
2017-11-09 05:57:29 -08:00 |
|
Josh Staiger
|
8b367c770b
|
Make pkgutil.get_data return Optional[bytes] (#1714)
As per the docs (and implementation):
- https://docs.python.org/3/library/pkgutil.html#pkgutil.get_data
If the package cannot be located or loaded ... then None is returned.
|
2017-11-05 14:00:51 -08:00 |
|
Lukasz Langa
|
5f416fae64
|
Add missing List imports.
|
2016-12-21 01:06:52 -08:00 |
|
Jordan Pittier
|
83802c6724
|
stdlib/2and3/pkgutil: Arg 1 to "iter_modules" should be List[str] (#625)
According to https://docs.python.org/2.7/library/pkgutil.html#pkgutil.iter_modules and https://docs.python.org/3/library/pkgutil.html#pkgutil.iter_modules: "path should be either None or a list of paths to look for modules in."
|
2016-10-21 16:56:34 -07:00 |
|
Valérian Rousset
|
5a5138aa1e
|
Add stubs for pkgutils (#431)
* py3 done (py2 pass empty)
* remove dangling importlib
* importlib.abc only exists in py3
|
2016-08-03 15:40:37 -07:00 |
|