[issue10387] ConfigParser's getboolean method is broken

Felix Laurie von Massenbach report at bugs.python.org
Thu Nov 11 15:08:25 CET 2010

Felix Laurie von Massenbach <fantasizer at gmail.com> added the comment:

Perhaps I don't understand fully, but I am reading, for example, "option = True" from a config file. When doing this getboolean raises:

AttributeError: 'bool' object has no attribute 'lower'

Is it intended that you cannot store "True" and "False" as values in the config file?

Apologies if I'm being dense.



Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list