You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A very similar issue was fixed in #3656, released as [version 6.75.9]
Actually it seems more related to #3671. When wrapping the recursive type in a list, the required recursion to validate the strategy is roughly doubled, and the default argument roughly doubles it again (due to the one_of(just(defaultval, ...)).
Effectively, this construction requires a recursionlimit of about 1100 to succeed on CPy. It's easy enough to bump it up to that, but where's the limit....?
Minimal working example:
results in:
but without the default value (empty list) it works fine.
Python 3.8
pydantic 1.10.2
pytest 7.0.1
hypothesis 6.58
The text was updated successfully, but these errors were encountered: