[issue37486] pathlib.Path('.').parent is itself rather than parent
Brett Cannon
report at bugs.python.org
Tue Jul 2 19:10:31 EDT 2019
Brett Cannon <brett at python.org> added the comment:
Would it be worth to set 'parent' to None in this instance? Might break code but would also be potentially less surprising.
----------
nosy: +brett.cannon
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37486>
_______________________________________
More information about the Python-bugs-list
mailing list