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 brett.cannon
Recipients brett.cannon, louielu, serhiy.storchaka, svelankar
Date 2017-05-08.17:40:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:48brett.cannonsetrecipients: + brett.cannon, serhiy.storchaka, louielu, svelankar
2017-05-08 17:40:48brett.cannonsetmessageid: <>
2017-05-08 17:40:48brett.cannonlinkissue29447 messages
2017-05-08 17:40:48brett.cannoncreate