[Python-Dev] Minor ConfigParser Change

Joseph Armbruster josepharmbruster at gmail.com
Sat May 26 21:31:46 CEST 2007


Kristján,

While we are on the topic of minor changes... :-)

I noticed that one of the parts of ConfigParser was not using "for line 
in fp" style of readline-ing :-)  So, this will reduce the SLOC by 3 
lines and improve readability.  However, I did a quick grep and this 
type of practice appears in several other places.

There is a possibility of good savings in this department.  If you think 
this is worthwhile, I can create one large patch for them all.

I sure hope I am not missing something fundamental with this one...

Joseph Armbruster
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configparser.patch
Url: http://mail.python.org/pipermail/python-dev/attachments/20070526/e58ac9cd/attachment.pot 


More information about the Python-Dev mailing list