Message132075
The documentation for configparser.RawConfigParser.read_file() states:
"Read and parse configuration data from the file or file-like object in f (only the readline() method is used)."
This was true in Python 3.1 and before. However in 3.2 the implementation of read_file changed. It no longer calls readline(). Instead, it iterates over the file object. Whoever made this change neglected to
* fix the docs, or apparently
* tell anybody.
I've got the commit bit, so I'd be happy to fix this.
I'd like to add it to the What's New In Python 3.2 as well; there's a section about configparser changes that would be perfect. Is it permissible to change the What's New document ex post facto like this? (Adding rhettinger so he can answer this.) |
|
Date |
User |
Action |
Args |
2011-03-25 10:08:19 | larry | set | recipients:
+ larry, rhettinger, docs@python |
2011-03-25 10:08:19 | larry | set | messageid: <1301047699.5.0.476245530251.issue11670@psf.upfronthosting.co.za> |
2011-03-25 10:08:18 | larry | link | issue11670 messages |
2011-03-25 10:08:17 | larry | create | |
|