[Python-ideas] Better stdlib support for Path objects

Antoine Pitrou solipsis at pitrou.net
Tue Oct 7 18:11:52 CEST 2014


On Wed, 8 Oct 2014 03:04:05 +1100
Chris Angelico <rosuav at gmail.com> wrote:
> >>> "asdf"+[1,2,3]
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> TypeError: Can't convert 'list' object to str implicitly
> 
> Because this could just call Path.__text__(), get back a string, and use that.

This won't happen, sorry.





More information about the Python-ideas mailing list