R. David Murray <rdmur...@bitdance.com> added the comment:

This isn't a problem with ConfigParser, it's a problem with the text file 
object returned by Subprocess.  You can reproduce the bug by trying to iterate 
over the TextIOWrapper returned by subprocess.

(It is true, however, that the ConfigParser docs should be specific that it 
isn't "any file", but "any text file".  If you would like to open a separate 
issue about that, that would be great).

----------
nosy: +gregory.p.smith, haypo, lukasz.langa, pitrou, r.david.murray
stage:  -> needs patch
title: configparser can't read_file the output of subprocess.Popen -> text 
files returned by subprocess.Popen with universal_newlines=True are not iterable
type:  -> behavior
versions: +Python 3.3

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

Reply via email to