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 <rep...@bugs.python.org>
<http://bugs.python.org/issue29847>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to