Author brett.cannon
Recipients Jeffrey.Kintscher, Nophke, brett.cannon, pitrou, terry.reedy
Date 2019-07-05.21:34:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562362479.1.0.58328134874.issue37130@roundup.psfhosted.org>
In-reply-to
Content
Thinking about this a bit, I my gut says having Path('.').name == '.' makes more sense than returning ''. My reasoning is that in any case where there's a single value -- e.g. Path('spam') -- you end up with the part returned in `name`. That suggests to me that '.' isn't any more special or ambiguous than 'spam' or '..'.

Antoine, what do you think?
History
Date User Action Args
2019-07-05 21:34:39brett.cannonsetrecipients: + brett.cannon, terry.reedy, pitrou, Jeffrey.Kintscher, Nophke
2019-07-05 21:34:39brett.cannonsetmessageid: <1562362479.1.0.58328134874.issue37130@roundup.psfhosted.org>
2019-07-05 21:34:39brett.cannonlinkissue37130 messages
2019-07-05 21:34:38brett.cannoncreate