[issue22570] Better stdlib support for Path objects

Antoine Pitrou report at bugs.python.org
Mon Oct 6 18:17:08 CEST 2014


Antoine Pitrou added the comment:

> I was about to suggest deriving your own Path class from Path and str

That would be a rather horrible solution.
It has already been suggested to create a "path protocol". I would suggest Barry tries to float and investigate the idea on python-ideas:
https://mail.python.org/pipermail/python-ideas/2014-May/027869.html

----------

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


More information about the Python-bugs-list mailing list