◐ Shell
clean mode source ↗

Message 361963 - Python tracker

>"obj == Py_None" is a very common pattern.
>You have check how it is done in HPy: https://github.com/pyhandle/hpy
>See also bpo-39511: "[subinterpreters] Per-interpreter singletons (None, >True, False, etc.)".

Thanks, I will check it.