BUG: infinite recursion when using pickle or copy
@@ -230,6 +230,8 @@ class SchemaBase(object):
def __getattr__(self, attr):
# reminder: getattr is called after the normal lookups
+ if attr == '_kwds':
+ raise AttributeError()
if attr in self._kwds:
return self._kwds[attr]
else:
