[BUG] not None
semantics is not supported in Pure Python mode for object
type
#5624
Labels
Milestone
not None
semantics is not supported in Pure Python mode for object
type
#5624
Describe the bug
Compiling reproducer is run without error. This is inconsistent logic used in Python Objects [1].
[1] https://cython.readthedocs.io/en/latest/src/userguide/extension_types.html#extension-types-and-none
Code to reproduce the behaviour:
Expected behaviour
Line
bar2(None)
should raise following exception:OS
any
Python version
3.9
Cython version
master
Additional context
Cython version:
Related to #5612
The text was updated successfully, but these errors were encountered: