Tin Tvrtković

Results 444 comments of Tin Tvrtković

Yeah, yeah. But we'd need to release attrs first.

So this library advertising it was faster than cattrs piqued my interest; and I couldn't quite figure out how until I looked at the generated code and noticed it wasn't...

Here are more modern stubs: ```python from typing import Any, Awaitable, Callable, ParamSpec, TypeVar, overload P = ParamSpec("P") T = TypeVar("T", bound=Awaitable) @overload def alru_cache( *, maxsize: int = ...,...

Howdy, so I gather the problem is this: ```python from attrs import define from cattrs import Converter from cattrs.strategies import include_subclasses c = Converter() @define class Base: a: int include_subclasses(Base,...

I like it! Do you think we should export `StructureHook` (and `UnstructureHook`) from `cattrs` directly? > Should we add some tests for the recipes You can use doctests. See an...

> you mean making StructureHook and UnstructureHook available directly from the high-level cattrs namespace Yeah, exactly. In any case, great work. I might do an editing pass before releasing the...

Fixed it! Looks like `doctest` blocks don't do syntax highlighting unless they are written in the prompt style :/

The support for this is very close to being merged!

This should actually already be fixed by #464