[issue8880] ConfigParser.set does not convert non-string values

2010-06-03 Thread Edwin Pozharski
Edwin Pozharski added the comment: Thanks - gotta rtfm :) On Wed, Jun 2, 2010 at 5:33 PM, R. David Murray wrote: > > R. David Murray added the comment: > > Use SafeConfigParser instead, then you can't make the mistake of passing > non-strings to set. > > We really

[issue8880] ConfigParser.set does not convert non-string values

2010-06-02 Thread Edwin Pozharski
New submission from Edwin Pozharski : set() method of ConfigParser accepts boolean True/False as values at runtime without converting them to strings internally. As a result, getboolean() method reports the following error File "/usr/lib/python2.6/ConfigParser.py", line 350, in