Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 540 Bytes

RELEASE.rst

File metadata and controls

11 lines (9 loc) · 540 Bytes

RELEASE_TYPE: minor

This release improves Hypothesis' handling of positional-only arguments, which are now allowed :func:`@st.composite <hypothesis.strategies.composite>` strategies.

On Python 3.8 and later, the first arguments to :func:`~hypothesis.strategies.builds` and :func:`~hypothesis.extra.django.from_model` are now natively positional-only. In cases which were already errors, the TypeError from incorrect usage will therefore be raises immediately when the function is called, rather than when the strategy object is used.