19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:27 +01:00
parent d1963a3c3a
commit 2d3ee4855a
7430 changed files with 2687981 additions and 2965473 deletions

View file

@ -8,5 +8,9 @@ def patch_module():
raise AttributeError(f"{self.__class__.__name__!r} object has no attribute {arg!r}")
return orig_policy_clone(self, **kwargs)
def policy_add(self, other):
return policy_clone(self, **other.__dict__)
orig_policy_clone = _PolicyBase.clone
_PolicyBase.clone = policy_clone
_PolicyBase.__add__ = policy_add