From: jbshaldane@... (haldane) Date: 2003-06-02T21:25:21+09:00 Subject: Re: Marshaling Dominik Werder wrote in message news:... > Hi there, > > I need to dump some objects but they have references to files. These > references are not important and could be discarded before serialization so > that no TypeError raises. But if I write my _dump method to do this, I need > to make the complete serialization on my own :((( > Is there a way to mark variables not to be marshaled? > How do you solve this problem? > > thanks! > Dominik You could try getting rid of the TypeError like this: class File def _dump(depth) "" end class <$`?$/:_+=$&[0]-?4}'