Message245639
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. |
|
Date |
User |
Action |
Args |
2015-06-22 17:05:33 | r.david.murray | set | recipients:
+ r.david.murray, lukasz.langa, andreas-h |
2015-06-22 17:05:33 | r.david.murray | set | messageid: <1434992733.04.0.906919997808.issue24488@psf.upfronthosting.co.za> |
2015-06-22 17:05:32 | r.david.murray | link | issue24488 messages |
2015-06-22 17:05:32 | r.david.murray | create | |
|