Author brett.cannon
Recipients Jim Fasarakis-Hilliard, brett.cannon, docs@python
Date 2017-03-03.20:37:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488573452.44.0.669016631657.issue29688@psf.upfronthosting.co.za>
In-reply-to
Content
As brought up on the PR, it turns out Path.absolute() is extremely under-tested.

Perhaps we should deprecate Path.absolute() instead of document it and properly test it (and the testing will be necessary to move forward with the documentation)? Path.resolve() handles absolute paths already while also resolving '.' and '..': https://docs.python.org/3/library/pathlib.html#pathlib.Path.resolve. It also works with non-existent paths so unless there's some performance issue I'm not aware of for resolving '.' and '..', then I say we deprecate Path.absolute().
History
Date User Action Args
2017-03-03 20:37:32brett.cannonsetrecipients: + brett.cannon, docs@python, Jim Fasarakis-Hilliard
2017-03-03 20:37:32brett.cannonsetmessageid: <1488573452.44.0.669016631657.issue29688@psf.upfronthosting.co.za>
2017-03-03 20:37:32brett.cannonlinkissue29688 messages
2017-03-03 20:37:32brett.cannoncreate