Message293245
The key thing with the docs is that it doesn't say anywhere "takes a string path" or a "path as a string" or something else that suggests path-like objects don't work. If you want to clearly state that path-like objects are acceptable that is fine as well.
As for the bytes/str parts, path-like objects that return bytes should work, but only if everything is str or bytes as passed into the function (e.g. mixing the types should not be expected to work). |
|
Date |
User |
Action |
Args |
2017-05-08 17:40:48 | brett.cannon | set | recipients:
+ brett.cannon, serhiy.storchaka, louielu, svelankar |
2017-05-08 17:40:48 | brett.cannon | set | messageid: <1494265248.87.0.243743089561.issue29447@psf.upfronthosting.co.za> |
2017-05-08 17:40:48 | brett.cannon | link | issue29447 messages |
2017-05-08 17:40:48 | brett.cannon | create | |
|