Message157096
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
>>> |
|
Date |
User |
Action |
Args |
2012-03-29 20:48:13 | weirdink13 | set | recipients:
+ weirdink13, mattchaput |
2012-03-29 20:48:13 | weirdink13 | set | messageid: <1333054093.13.0.553649312835.issue14447@psf.upfronthosting.co.za> |
2012-03-29 20:48:12 | weirdink13 | link | issue14447 messages |
2012-03-29 20:48:12 | weirdink13 | create | |
|