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 hauntsaninja
Recipients hauntsaninja
Date 2020-02-22.05:43:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582350228.37.0.922225151662.issue39723@roundup.psfhosted.org>
In-reply-to
Content
Currently io.open_code (added in Python 3.8) only accepts str arguments. As per PEP 519, it should probably also accept PathLike. It might be worth extending it to accept bytes as well, both for convenience and because documentation claims it should be interchangeable with ``open(path, 'rb')``.

https://github.com/python/cpython/blob/3.8/Modules/_io/_iomodule.c#L510
History
Date User Action Args
2020-02-22 05:43:48hauntsaninjasetrecipients: + hauntsaninja
2020-02-22 05:43:48hauntsaninjasetmessageid: <1582350228.37.0.922225151662.issue39723@roundup.psfhosted.org>
2020-02-22 05:43:48hauntsaninjalinkissue39723 messages
2020-02-22 05:43:48hauntsaninjacreate