Marckie Zeender

Results 2 comments of Marckie Zeender

I guess numpy-style would be, like, ```python from collections.abc import Buffer @overload def save_to_bytes(out:Buffer)->None: ... def load_from_bytes(in_:Buffer): ... # bytes implements Buffer so this signature doesn't need to be overloaded...

An easy solution is to have ```python from foo import type Baz ``` be syntactic sugar for ```python type Baz[_] = __import__('foo').Baz ``` In other words, create a (generic) type...