Raymond Hettinger added the comment:
I'm not sure I see the point in moving this out to a separate method (i.e. I
wouldn't want to see people importing configparser just to use this particular
group of boolean word aliases). In general, users would be better served by a
simple dictionary that gives them the ability to say exactly which variants
they want to allow ('y', 'n', 'enabled', 'disabled', etc).
Also, the preposition "from" in a method name usually indicates a classmethod
that creates instances of the class where it is defined.
----------
assignee: -> rhettinger
nosy: +rhettinger
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25243>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com