homepage

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 andreas-h
Recipients andreas-h
Date 2015年06月22日.16:45:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1434991517.36.0.491167534114.issue24488@psf.upfronthosting.co.za>
In-reply-to
Content
Not sure if this is by design (or if I'm doing something utterly stupid), but I often create a ConfigParser object for my application and then pass this around (or make it global).
So when I do something like
 cfg.set("input_filter", "include_filtered", True)
and then 
 cfg.getboolean("input_filter", "include_filtered")
I receive an error (AttributeError: 'bool' object has no attribute 'lower').
Wouldn't it be more sensible if getboolean would return the raw value in case the raw value is already a boolean?
If not, which would be the best way forward for me?
History
Date User Action Args
2015年06月22日 16:45:17andreas-hsetrecipients: + andreas-h
2015年06月22日 16:45:17andreas-hsetmessageid: <1434991517.36.0.491167534114.issue24488@psf.upfronthosting.co.za>
2015年06月22日 16:45:17andreas-hlinkissue24488 messages
2015年06月22日 16:45:17andreas-hcreate

AltStyle によって変換されたページ (->オリジナル) /