Message406702
Generally if Path is created with a trailing separator, I think it should error out for all methods that apply to files, for example `.touch()`, `read*()`, `write*()`, others.
This is consistent with shell commands:
touch xyz/ touch: xyz/: Not a directory
echo 'blah' > xyz/
zsh: not a directory: xyz/ |
|
Date |
User |
Action |
Args |
2021-11-21 02:47:06 | andrei.avk | set | recipients:
+ andrei.avk, pitrou, r.david.murray, cvrebert, joca.bt, emilyemorehouse, robbuckley |
2021-11-21 02:47:05 | andrei.avk | set | messageid: <1637462825.97.0.0865218566574.issue22276@roundup.psfhosted.org> |
2021-11-21 02:47:05 | andrei.avk | link | issue22276 messages |
2021-11-21 02:47:05 | andrei.avk | create | |
|