-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
Open
Description
See how contracts package are trying to provide support for something similar to shapes. They are extending annotations in a different way than just standard typing and maybe something like that could be also done. So instead of providing specific extension (PEP) for typing to allow thing like shapes, it might be maybe more useful to determine a syntax for general constraints on types and use that, in addition to standard types through typing.
tillahoffmann, hoel-bagard, schneiderfelipe, evhub, ternaus and 60 moreepeters3, ninyawee, schneiderfelipe, iucario, philippschmalen and 17 more