R. David Murray added the comment:

In python3 you will get an error: "TypeError: option values must be strings".  
So, this is an infelicity in the configparser API.  Or, rather, I presume it is 
a design decision (ie: python shouldn't guess what string format you want the 
value to have in the file).

I'll leave it up to Lukaz to decide if this should be closed, or if there is an 
acceptable feature request here.  But your solution is to call str on your 
boolean values when you store them.

----------
assignee:  -> lukasz.langa
nosy: +lukasz.langa, r.david.murray
versions: +Python 3.6 -Python 2.7

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

Reply via email to