[issue27351] Unexpected ConfigParser.read() behavior when passed fileobject

Xiang Zhang report at bugs.python.org
Sun Jun 19 01:05:57 EDT 2016


Xiang Zhang added the comment:

The doc tells ConfigParser.read accepts a filename or a list of filenames. Why do you pass it fileobject? If you want to use fileobject, why not read_file?

----------
nosy: +lukasz.langa, xiang.zhang

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27351>
_______________________________________


More information about the Python-bugs-list mailing list