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