[issue42820] Sphinx conf.py needs_version entry is outdated

2021-01-03 Thread Tim Hoffmann
New submission from Tim Hoffmann : The sphinx conf.py entry `needs_version=1.8` (https://github.com/python/cpython/blob/1470edd6131c29b8a09ce012cdfee3afa269d553/Doc/conf.py#L48) is not in sync with the doc build requirements (https://github.com/python/cpython/blob

[issue41082] Error handling and documentation of Path.home()

2020-06-22 Thread Tim Hoffmann
New submission from Tim Hoffmann : Path.home() may fail un (https://github.com/matplotlib/matplotlib/issues/17707#issuecomment-647180252). 1. I think the raised key error is too low-level, and it should be something else; what exactly t.b.d. 2. The documentation (https://docs.python.org/3

[issue40148] Add PurePath.with_stem()

2020-04-01 Thread Tim Hoffmann
Change by Tim Hoffmann : -- keywords: +patch pull_requests: +18654 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19295 ___ Python tracker <https://bugs.python.org/issu

[issue40148] Add PurePath.with_stem()

2020-04-01 Thread Tim Hoffmann
New submission from Tim Hoffmann : Similar to PurePath.with_name() and PurePath.with_suffix() there should be a PurePath.with_stem(). A common use case would be appending something before the suffix: path.with_stem(path.stem + '_v2') As of now this must be written more cumbersome

[issue38194] Consistently add exist_ok / missing_ok parameters to directory creation/deletion functions

2019-09-16 Thread Tim Hoffmann
New submission from Tim Hoffmann : The following functions accept exist_ok/missing_ok parameters: - Path.mkdir(exist_ok) - os.makedirs(exist_ok) - shutil.copytree(dirs_exist_ok) - (https://bugs.python.org/issue20849) - Path.unlink(missing_ok) - (https://bugs.python.org/issue33123

[issue37346] Documentation of os not using OSError subclasses

2019-06-20 Thread Tim Hoffmann
Change by Tim Hoffmann : -- keywords: +patch pull_requests: +14090 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14262 ___ Python tracker <https://bugs.python.org/issu

[issue37346] Documentation of os not using OSError subclasses

2019-06-20 Thread Tim Hoffmann
New submission from Tim Hoffmann : The documentation of `os` does not use the more specific `OSError` subclasses introduced in PEP 3151. -- assignee: docs@python components: Documentation messages: 346110 nosy: docs@python, timhoffm priority: normal severity: normal status: open title

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-02 Thread Tim Hoffmann
Change by Tim Hoffmann : -- pull_requests: +13627 pull_request: https://github.com/python/cpython/pull/8518 ___ Python tracker <https://bugs.python.org/issue33

[issue20177] Derby #8: Convert 28 sites to Argument Clinic across 2 files

2018-07-28 Thread Tim Hoffmann
Change by Tim Hoffmann : -- pull_requests: +8052 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue20177> ___ ___ Python-

[issue34261] Add description to clinic.py

2018-07-28 Thread Tim Hoffmann
New submission from Tim Hoffmann : When trying to update a docstring of a CPython builtin, I had problems finding out what Argument Clinic actually does. First, I looked at the devguide, which does only mention that the clinic exists, but not what it does or how it's used. Next, I tried

[issue34259] Improve docstring of list.sort

2018-07-28 Thread Tim Hoffmann
New submission from Tim Hoffmann : The current docstring of list.sort is just "Stable sort *IN PLACE*." This is missing a description of the arguments key and reverse. Also a short explanation of stable and in-place would be helpful for less experienced users. -- messag