According to docs, unpickling may call __getattr__(), and __init__() is not necessarily called.
This causes an infinite recursion when unpickling TableBundle: __getattr__() calls unique(), which asks for self._tables_named, which calls __getattr__("_tables_named") presumably because self._tables_named was never initialized in __init__().
Unfortunately this means that TableBundle cannot be pickled!
According to docs, unpickling may call
__getattr__(), and__init__()is not necessarily called.This causes an infinite recursion when unpickling
TableBundle:__getattr__()callsunique(), which asks forself._tables_named, which calls__getattr__("_tables_named")presumably becauseself._tables_namedwas never initialized in__init__().Unfortunately this means that
TableBundlecannot be pickled!