[issue22570] Better stdlib support for Path objects

Georg Brandl report at bugs.python.org
Thu Oct 16 20:42:47 CEST 2014


Georg Brandl added the comment:

`path = str(path)` is minimal, but has the side effect of accepting almost any object, which is definitely not what you'd like ("where did that file named '<type object at ...>' come from?!")

----------

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


More information about the Python-bugs-list mailing list