Python v3 question related to pickle/marshal

Detlev Offenbach detlev at die-offenbachs.de
Thu Mar 26 14:44:00 EDT 2009


Tino Wildenhain wrote:

> Detlev Offenbach wrote:
>> Hi,
>> 
>> is it possible to marshal or pickle a data structure using Python v3
>> and unmarshal or unpickle it using Python v2. If it is possible, how
>> do I have to do it. Everything I tried resulted in an EOFError
>> exception upon unmarshalling/unpickling.
> 
> Could you give the code of a minimal example how you tried?

The problem is fixed. The bug was somewhere else making me believe the
pickled file couldn't be read.

> 
> Regards
> Tino
> 
> PS: it would not hurt to end questions with a question mark ;-)

-- 
Detlev Offenbach
detlev at die-offenbachs.de



More information about the Python-list mailing list