Message344770
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. |
|
Date |
User |
Action |
Args |
2019-06-05 20:57:56 | Nophke | set | recipients:
+ Nophke, brett.cannon, Jeffrey.Kintscher |
2019-06-05 20:57:56 | Nophke | set | messageid: <1559768276.23.0.778816776197.issue37130@roundup.psfhosted.org> |
2019-06-05 20:57:56 | Nophke | link | issue37130 messages |
2019-06-05 20:57:56 | Nophke | create | |
|