A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2016-April/143730.html below:

[Python-Dev] When should pathlib stop being provisional?

[Python-Dev] When should pathlib stop being provisional? [Python-Dev] When should pathlib stop being provisional?Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 6 18:59:25 EDT 2016
Nick Coghlan wrote:
> I'd missed the existing precedent in DirEntry.path, so simply taking
> that and running with it sounds good to me.

It's not quite the same thing, though. DirEntry.path takes
something that is not a path (a DirEntry instance) and
gives you a path representing it, so the name makes sense.

But a Path instance is already "a path", so Path.path
is weird. Path.str would make more sense.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4