[issue39723] io.open_code should accept PathLike objects

2020-02-23 Thread Steve Dower
Steve Dower 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

[issue39723] io.open_code should accept PathLike objects

2020-02-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of https://bugs.python.org/issue39691 -- ___ Python tracker ___

[issue39723] io.open_code should accept PathLike objects

2020-02-22 Thread SilentGhost
Change by SilentGhost : -- nosy: +steve.dower versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39723] io.open_code should accept PathLike objects

2020-02-21 Thread Shantanu
Change by Shantanu : -- keywords: +patch pull_requests: +17969 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18602 ___ Python tracker ___

[issue39723] io.open_code should accept PathLike objects

2020-02-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39723] io.open_code should accept PathLike objects

2020-02-21 Thread Shantanu
New submission from Shantanu : 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