[New-bugs-announce] [issue29847] Path takes and ignores **kwargs

Jelle Zijlstra report at bugs.python.org
Sat Mar 18 11:22:47 EDT 2017


New submission from Jelle Zijlstra:

pathlib.Path.__new__ takes **kwargs, but doesn't do anything with them (https://github.com/python/cpython/blob/master/Lib/pathlib.py#L979). This doesn't appear to be documented.

This feature should presumably be either documented or removed (probably removed unless I'm missing some reason for having it).

Brief discussion on a typeshed PR at https://github.com/python/typeshed/pull/991#discussion-diff-105813974R100

----------
messages: 289817
nosy: Jelle Zijlstra, pitrou
priority: normal
severity: normal
status: open
title: Path takes and ignores **kwargs

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29847>
_______________________________________


More information about the New-bugs-announce mailing list