[Python-Dev] When should pathlib stop being provisional? (original) (raw)

Steven D'Aprano steve at pearwood.info
Tue Apr 5 22:40:13 EDT 2016


I haven't really been following this discussion, but a couple of comments...

On Tue, Apr 05, 2016 at 11:47:32PM +0000, Brett Cannon wrote:

http://www.snarky.ca/why-pathlib-path-doesn-t-inherit-from-str

Nice write-up, thanks.

[...]

To me it seems to basically be a question of whether people can be patient during a transition and embrace pathlib over time or if they will simply refuse to add support in libraries and refuse to use getattr(path, 'path',_ _path) or str(path) in the mean time.

Wait, what? Is that what the whole fuss is about? That some people refuse to call str(path) when passing a path object to a function that expects a string? Really? That's it?

The mind boggles.

-- Steve



More information about the Python-Dev mailing list