2d990ee2f7
Fill out more annotations for distutils & setuptools dist ( #9895 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-03-17 18:48:24 +00:00
Henry Schreiner
629f12e9a1
[setuptools] Fully annotate Extension.__init__ ( #9899 )
...
Add defaults to distutils.Extension.__init__
2023-03-17 16:44:51 +01:00
Henry Schreiner
3a82796d1e
[distutils] Add generated methods to Distribution ( #9896 )
2023-03-17 12:14:36 +01:00
Henry Schreiner
bcff9cd51f
distutils.command.build_ext: add more annotations to get_ext_* methods (#9894 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-03-16 20:29:11 +00:00
Henry Schreiner
ed1fd8fc35
Add missing distribution attribute to distutils.cmd.Command ( #9893 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-03-16 20:21:23 +00:00
Henry Schreiner and Alex Waygood
eb3f8f3307
Add remaining types to setuptools.build_meta ( #9890 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-03-16 17:01:39 +00:00
Henry Schreiner
afb512f38b
sre_parse.SubPattern.getwidth: return a tuple of ints (#7951 )
2022-05-25 17:34:51 +01:00
Henry Schreiner
da08cd30d0
locale: getlocale may return None's ( #7562 )
...
According to the docs at https://docs.python.org/3/library/locale.html#locale.getlocale , this function may return None for either of the two items in the return sequence, which is missed in the current form.
Also adjust `locale.setlocale()`, which can accept a tuple of `(None, None)` for the second argument.
2022-03-28 23:23:03 +01:00
967f83db09
rlcompleter: add attr_matches, global_matches ( #7453 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-03-08 00:07:58 +00:00
Henry Schreiner
2002649395
fix(Deprecated): use literal for actions ( #5939 )
2021-08-19 18:06:23 +02:00
Henry Schreiner
eec10a6c7a
fix(Deprecated): support any warning for category ( #5937 )
2021-08-19 17:55:14 +02:00
Henry Schreiner
ae51d5264b
fix: standalone logger functions do not accept arbitrary keywords ( #5862 )
2021-08-06 23:58:24 +02:00
Henry Schreiner
4965e95f84
fix: arbitrary keyword arguments are not accepted in logging functions ( #5849 )
...
While the implementation uses `**kwargs`, this is just forwarded to `_log()`, which accepts a fixed set of arguments.
2021-08-06 10:59:43 +02:00
Henry Schreiner
901b8cb92d
fix(pathlib2): missing exist_ok argument ( #5218 )
...
See https://github.com/mcmtroffaes/pathlib2/blob/91eafa818c777ec8a76c04e952530d3b1ce8bec1/pathlib2/__init__.py#L1527
2021-04-14 09:44:48 -07:00
Henry Schreiner
67090510ba
importlib.resouces: add as_file for Python 3.9 ( #5216 )
2021-04-13 23:02:34 -07:00
Henry Schreiner
ce1871a5bb
importlib.abc: Traversable takes a path ( #5214 )
2021-04-13 19:43:20 -07:00
Henry Schreiner
e4f239edfd
plat_ver: add missing type annotations ( #5017 )
...
Matches Python 3, and the description here: https://docs.python.org/2.7/library/platform.html#mac-os-platform
2021-02-11 21:02:09 -08:00