[Python-ideas] Better stdlib support for Path objects

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Oct 7 16:48:04 CEST 2014


On Tue, Oct 7, 2014 at 10:40 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> Using str(x) implicitly allows lots of nonsense that should throw an
> immediate TypeError to instead throw OSError later on (or, worse,
> perhaps even appear to work).
>

+1

It's no fun trying to figure out how a file named '<function f at
0x7f00644cc2a8>' came about or how to remove it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141007/5634b794/attachment.html>


More information about the Python-ideas mailing list