Author xiang.zhang
Recipients tlotze, xiang.zhang
Date 2017-04-13.07:27:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492068422.34.0.72415750819.issue30046@psf.upfronthosting.co.za>
In-reply-to
Content
boolean is not quoted since in Python it's a subclass of int so True and False are numeric. This is also the case with numeric objects defining __int__ or __float__ but doesn't get a corresponding string representation.

Since QUOTE_NONNUMERIC will converts data to float when reading, I think we may force the converting even when writing so the inconsistency would disappear. Or document this limitation.
History
Date User Action Args
2017-04-13 07:27:02xiang.zhangsetrecipients: + xiang.zhang, tlotze
2017-04-13 07:27:02xiang.zhangsetmessageid: <1492068422.34.0.72415750819.issue30046@psf.upfronthosting.co.za>
2017-04-13 07:27:02xiang.zhanglinkissue30046 messages
2017-04-13 07:27:01xiang.zhangcreate