Guido van Rossum <guido@python.org> writes: > In the case of nested classes, a possible solution might be for > X.Y.__name__ to be "X.Y" rather than plain "Y". Then a simple change > to pickle (or to getattr :-) could allow the correct unpickling. I'd rather expect that X.Y.__module__ is "Foo.X". Regards, Martin