Franck PEREZ <[EMAIL PROTECTED]> wrote: > I thought about it, but it would make the XML file depend on the > machine... no more portability... ... > > How about adding Foo.__file__ to the serialized data?
Your top-posting makes this discourse weird (why put your comments BEFORE the text you're commenting on?!), but anyway I think that using the class's __module__ rather than __file__ should be what you want. Alex -- http://mail.python.org/mailman/listinfo/python-list