Daniel Swanson <popcorn.tomato.d...@gmail.com> added the comment: You are correct. I got: Python 3.1.2 (release31-maint, Dec 9 2011, 20:50:50) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import marshall Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named marshall >>> import marshal >>> f = open("test", "wb") >>> marshal.dump(("hello", 1), f) 20 >>> marshal.dump(("there", 2), f) 20 >>> marshal.dump(("friend", 3), f) 21 >>> f.close() >>> f = open("test", "rb") >>> print(marshal.load(f)) ('hello', 1) >>> print(marshal.load(f)) Traceback (most recent call last): File "<stdin>", line 1, in <module> EOFError: EOF read where object expected >>>
---------- nosy: +weirdink13 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14447> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com