Author larry
Recipients docs@python, larry, rhettinger
Date 2011-03-25.10:08:17
SpamBayes Score 1.71026e-06
Marked as misclassified No
Message-id <1301047699.5.0.476245530251.issue11670@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2011-03-25 10:08:19larrysetrecipients: + larry, rhettinger, docs@python
2011-03-25 10:08:19larrysetmessageid: <1301047699.5.0.476245530251.issue11670@psf.upfronthosting.co.za>
2011-03-25 10:08:18larrylinkissue11670 messages
2011-03-25 10:08:17larrycreate