New submission from Joshua Bronson:

ConfigParser.getboolean[1] has logic to convert strings like '0' and 'False' to 
False. This logic is generally useful in other contexts and need not be coupled 
to ConfigParser. Would you consider accepting a patch that factored this 
string-to-boolean logic out of ConfigParser into a standalone function, and 
changed ConfigParser.getboolean internally to call that?

Thanks for your consideration.

[1] 
https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.getboolean

----------
messages: 251664
nosy: jab
priority: normal
severity: normal
status: open
title: decouple string-to-boolean logic from ConfigParser.getboolean and offer 
as separate function
type: enhancement

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25243>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to