STINNER Victor added the comment: I cannot reproduce the issue on Python 3 (on Linux), I suppose that it is specific to Python 2.
On Python 3, mashal.dump(obj, fileobj) only calls fileobj.write(data), no test on fileobj type is done. ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19630> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com