Message263639
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. |
|
Date |
User |
Action |
Args |
2016-04-18 04:27:40 | rhettinger | set | recipients:
+ rhettinger, novalis_dt, jab, lukasz.langa |
2016-04-18 04:27:39 | rhettinger | set | messageid: <1460953659.98.0.575481122666.issue25243@psf.upfronthosting.co.za> |
2016-04-18 04:27:39 | rhettinger | link | issue25243 messages |
2016-04-18 04:27:39 | rhettinger | create | |
|