Re: marshal.loads ValueError
- From: "abcd" <codecraig@xxxxxxxxx>
- Date: 31 Jan 2007 05:20:42 -0800
On Jan 31, 8:02 am, Benjamin Niemann <p...@xxxxxxxxxx> wrote:
marshal is used to (de)serialize python objects from/to strings.
marshal.loads() tries to deserialize an encoded string back into a python
object - which does not make sense here.
What you probably want is:
exec data in my_module.__dict__
thanks that took care of it.
.
- References:
- marshal.loads ValueError
- From: abcd
- Re: marshal.loads ValueError
- From: Benjamin Niemann
- marshal.loads ValueError
- Prev by Date: Re: marshal.loads ValueError
- Next by Date: Re: Help needed on config files
- Previous by thread: Re: marshal.loads ValueError
- Next by thread: 'First class' Relationships
- Index(es):