You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coming from #3328: For future design, I suggest using Python functions, use type annotation, e.g. def func(b: bytes). Explicitly allowing None can be done using def func(b: typing.Optional[bytes]) in Python, and Cython function declaration may want to accept this syntax.
It would be useful to allow
not None
oncdef
andcpdef
function arguments as it works withdef
function arguments.ref: https://cython.readthedocs.io/en/latest/src/userguide/extension_types.html#extension-types-and-none
The text was updated successfully, but these errors were encountered: