Tin Tvrtković

Results 444 comments of Tin Tvrtković

I can put something together in the mean time and paste it here. It's solvable currently, just requires some expertise.

Great, singledispatch got changed in the meantime. Oh well ;) Since the next release is supposed to have a focus on validation, it may be a good time to revisit...

In the meantime, here's the updated version of the snippet: ```python from cattrs import Converter def structure_list_strict(v: list, _) -> list[str]: if not isinstance(v, list): raise Exception() return [str(e) for...

Copying is done now, and released in 22.2.0!

I've also been playing around with wasmtime, got a toy program running but I was reading and writing memory one byte at a time. Glad to see there's a bulk...

Playing around with this a little more, `memory.data_ptr(store)[:res_length]` returns an actual list of integer objects. You can call `bytes` on it, but it's very inefficient. Realistically no one's going to...

Thanks for the heads-up, I can replace the calls and do a release soon (in a few days).

Should be fixed on `main`!

Cool. Cattrs will be no problem, I can just bump the dependency to the latest version of attrs and implement it. Mypy will be a bigger issue I think.

Unsure, Mypy has a custom attrs plugin so I don't know if the dataclass_transform code path is in charge of this.