[issue21127] Path objects cannot be constructed from str subclasses

Antoine Pitrou report at bugs.python.org
Thu Apr 10 22:08:11 CEST 2014


Antoine Pitrou added the comment:

I'm curious: what is the use case for str subclasses in Path objects?
If this is to be supported, I think I'd rather force-cast to str rather than accept arbitrary subclasses.

----------

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


More information about the Python-bugs-list mailing list