attrs/changelog.d/859.change.rst

5 lines
290 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Added new context manager ``attr.validators.disabled()`` and functions ``attr.validators.(set|get)_disabled()``.
They deprecate ``attr.(set|get)_run_validators()``.
All functions are interoperable and modify the same internal state.
They are not and never were thread-safe, though.