Łukasz Langa added the comment:

Good catch. Supporting bytes passed as a path is a reasonable request since the 
builtin `open()` supports this, too. Go ahead and create a pull request! We 
only need to modify line 690 to also list `bytes`.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31307>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to