afdw

Results 16 comments of afdw

> I'm not super fan of the `_ftactic` nomenclature, this looks heavyweight. I'd rather favour a one-letter prefix `f` or something similar. `_f` is what I considered going with first,...

@ppedrot @silene I have split into commits and removed purely formatting changes.

> Hmm, I'm not able to repro this - is this still an issue for folks on v2.8.2? Yes: ``` user@notebook:/tmp/tmp.PxDyboOlwj$ python -c "import pydantic.version; print(pydantic.version.version_info())" pydantic version: 2.8.2 pydantic-core...

The model here is just a simple ADT, and the data to be validated is freshly deserialized from JSON, so there could not be any cyclic references here.

Here is a minimal example, it does not work starting with depth equal to 256: ```python from __future__ import annotations from typing import Optional import json from pydantic import BaseModel...