[issue31307] ConfigParser.read silently fails if filenames argument is a byte string
Łukasz Langa
report at bugs.python.org
Fri Sep 1 15:48:23 EDT 2017
Ł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 <report at bugs.python.org>
<http://bugs.python.org/issue31307>
_______________________________________
More information about the Python-bugs-list
mailing list