New submission from Serhiy Storchaka: Python and C implementations of pickle produce different results when pickle floats with protocol 0.
>>> pickle.dumps(4.2, 0) b'F4.2000000000000002\n.' >>> pickle._dumps(4.2, 0) b'F4.2\n.' ---------- components: Library (Lib) messages: 232992 nosy: alexandre.vassalotti, pitrou, serhiy.storchaka priority: normal severity: normal status: open title: Implementation-depended pickling floats with protocol 0 type: behavior versions: Python 2.7, Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23096> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com