Steve Dower <steve.do...@python.org> added the comment:
Dup of issue39691 As per PEP 578, open_code only accepts an absolute path as a str. The other issue will be used to update the docstring. ---------- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Allow passing Pathlike objects to io.open_code _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39723> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com