[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

Fred L. Drake, Jr. report at bugs.python.org
Mon Aug 9 20:10:14 CEST 2010


Fred L. Drake, Jr. <fdrake at acm.org> added the comment:

The getters should all accept a `default` argument that's used when no value is found in the configuration.  If the default is given, that should be returned (without conversion), instead of raising an exception.

This can be included in the same patch.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9421>
_______________________________________


More information about the Python-bugs-list mailing list