Berker Peksag added the comment:

csv.writer() documentation says:

    "All other non-string data are stringified with str() before being written."

https://docs.python.org/2.7/library/csv.html#csv.writer

I guess adding a sentence to document the special case for floats wouldn't hurt.

----------
keywords: +easy
nosy: +berker.peksag
stage:  -> needs patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13573>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to