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
Date 2019-06-05.20:57:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559768276.23.0.778816776197.issue37130@roundup.psfhosted.org>
In-reply-to
Content
The idea in my last post was quite bad,
setting name to None breaks a lot of functions
that expect name to be a string.

Path('.').parent and Path('..').parent both return '.'.

Even if it is not stupid (regarding them as special dirs
pointing to somewhere else but still being inside the directory).

I don't know why anyone would rely on such a behaviour...

The tests expect Path('..').stem() to be '..'
and expect Path('.').stem() to be ''

Once again, I don't know why anyone should rely on it but
I fear I can't do a lot without breaking this one part of the test.

I'm working on it and posting something by the end of the Week.
History
Date User Action Args
2019-06-05 20:57:56Nophkesetrecipients: + Nophke, brett.cannon, Jeffrey.Kintscher
2019-06-05 20:57:56Nophkesetmessageid: <1559768276.23.0.778816776197.issue37130@roundup.psfhosted.org>
2019-06-05 20:57:56Nophkelinkissue37130 messages
2019-06-05 20:57:56Nophkecreate