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 serhiy.storchaka
Recipients serhiy.storchaka, tlotze, xiang.zhang
Date 2017-04-19.05:46:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492580793.89.0.173918152377.issue30046@psf.upfronthosting.co.za>
In-reply-to
Content
This issue is not easy, it needs a thoughtful design before starting coding. I agree with Xiang's analysis and proposed solutions. But if just convert numbers to float we can get an overflow for large integers or lost precision in case of Decimal. The consumer of the CSV file may be not Python and it may support larger precision than Python float.

And it is not clear what would be better solution for enums. Should they be serialized by name or by value?
History
Date User Action Args
2017-04-19 05:46:33serhiy.storchakasetrecipients: + serhiy.storchaka, xiang.zhang, tlotze
2017-04-19 05:46:33serhiy.storchakasetmessageid: <1492580793.89.0.173918152377.issue30046@psf.upfronthosting.co.za>
2017-04-19 05:46:33serhiy.storchakalinkissue30046 messages
2017-04-19 05:46:33serhiy.storchakacreate