This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients andreas-h, lukasz.langa, r.david.murray
Date 2015-06-22.17:05:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:33r.david.murraysetrecipients: + r.david.murray, lukasz.langa, andreas-h
2015-06-22 17:05:33r.david.murraysetmessageid: <>
2015-06-22 17:05:32r.david.murraylinkissue24488 messages
2015-06-22 17:05:32r.david.murraycreate