Noob confused by ConfigParser defaults

Tim Chase python.list at tim.thechases.com
Mon Feb 20 21:56:11 EST 2017


On 2017-02-21 00:04, Peter Otten wrote:
> Tim Chase wrote:
>> On 2017-02-20 10:45, Peter Otten wrote:
>>> value = parser.get("section-1", "option-1", fallback="default
>>> value")
>> 
>> Huh.  Do you remember when this was added?
> 
> I don't use configparser regularly, so I had to look around myself
> and found
> 
> https://docs.python.org/3.2/whatsnew/3.2.html#configparser
> 
> 
> Łukasz also closed your bug report

Thanks for hunting that down, and thanks also to Łukasz for
shepherding in that long-desired change.

-tkc






More information about the Python-list mailing list