Message401350
The problem with using `str()` on a path argument is that the argument may not be a str, nor a pathlib object, but `str()` will still create a string out of it, leading to difficult bugs.
The documentation for pathlib also predates the addition of `os.fspath()`. |
|
Date |
User |
Action |
Args |
2021-09-08 00:54:18 | ethan.furman | set | recipients:
+ ethan.furman, thatiparthy, remi.lapeyre, LimaAlphaHotel |
2021-09-08 00:54:18 | ethan.furman | set | messageid: <1631062458.24.0.0663328876959.issue41026@roundup.psfhosted.org> |
2021-09-08 00:54:18 | ethan.furman | link | issue41026 messages |
2021-09-08 00:54:18 | ethan.furman | create | |
|