[issue14447] marshal.load() reads entire remaining file instead of just next value

2012-03-29 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 12291. 3.1 is in security-fix only mode. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> file written using marshal in 3.2 can be read by 2.7, but not

[issue14447] marshal.load() reads entire remaining file instead of just next value

2012-03-29 Thread Daniel Swanson
Daniel Swanson added the comment: 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 inform

[issue14447] marshal.load() reads entire remaining file instead of just next value

2012-03-29 Thread Daniel Swanson
Daniel Swanson 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 "", line 1, in ImportError:

[issue14447] marshal.load() reads entire remaining file instead of just next value

2012-03-29 Thread Matt Chaput
New submission from Matt Chaput : In Python 3.2, if you write several values to a file with multiple calls to marshal.dump(), and then try to read them back, the first marshal.load() returns the first value, but reads to the end of the file, so subsequent calls to marshal.load() raise an EOFEr