Skip to content

0.10.1 - remove all deepcopy of schemas

Compare
Choose a tag to compare
@radix radix released this 23 Jul 20:34

Because deepcopy can sometimes fail if a type is unpicklable, we now avoid deepcopying schemas entirely. This was done in various places, such as schema_ref, when_tag_is, etc. This would only be a problem if you used closures (used as e.g. coerce directives) or default values that referred to complex unpicklable objects.