This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Nophke
Recipients Jeffrey.Kintscher, Nophke, brett.cannon, terry.reedy
Date 2019-06-12.17:13:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560359609.56.0.975633458392.issue37130@roundup.psfhosted.org>
In-reply-to
Content
After digging the question,I'd rather go for a minimal change.

- setting .name to '' for '..'
- let it be known in the doc
- special-casing Path('..').stem (to keep the old behaviour)
- update tests

More could be done, but I don't feel like rewriting too much of it.

A global design change should set a special treatment for '..' as well as '.' 

But I'd rather see small steps being accepted than big ones rejected.
History
Date User Action Args
2019-06-12 17:13:29Nophkesetrecipients: + Nophke, brett.cannon, terry.reedy, Jeffrey.Kintscher
2019-06-12 17:13:29Nophkesetmessageid: <1560359609.56.0.975633458392.issue37130@roundup.psfhosted.org>
2019-06-12 17:13:29Nophkelinkissue37130 messages
2019-06-12 17:13:29Nophkecreate