This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author weirdink13
Recipients mattchaput, weirdink13
Date 2012-03-29.21:04:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333055077.78.0.739419534278.issue14447@psf.upfronthosting.co.za>
In-reply-to
Content
The previous test was on linux mint 10 (Julia) with python 3.1.2
here is the same test on windows XP with python 3.2.2

Python 3.2.2 (default, Sep  4 2011, 09:51:08) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import marshal
>>> f = open('t', 'wb')
>>> marshal.dump(('skd', 1), f)
18
>>> marshal.dump(('slkd', 2), f)
19
>>> marshal.dump('lkdss', 3), f)
SyntaxError: invalid syntax
>>> marshal.dump(('lskda', 3), f)
20
>>> f.close()
>>> f = open('t', 'rb')
>>> print(marshal.load(f))
('skd', 1)
>>> print(marshal.load(f))
('slkd', 2)
>>> print(marshal.load(f))
('lskda', 3)
>>> print(marshal.load(f))
Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    print(marshal.load(f))
EOFError: EOF read where object expected
>>> 

As you can see, this problem appearently does not apply to 3.2.2
History
Date User Action Args
2012-03-29 21:04:37weirdink13setrecipients: + weirdink13, mattchaput
2012-03-29 21:04:37weirdink13setmessageid: <1333055077.78.0.739419534278.issue14447@psf.upfronthosting.co.za>
2012-03-29 21:04:37weirdink13linkissue14447 messages
2012-03-29 21:04:37weirdink13create