Message361961
| Author |
vstinner |
| Recipients |
corona10, nascheme, serhiy.storchaka, shihai1991, steve.dower, vstinner |
| Date |
2020-02-13.15:58:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1581609481.65.0.646832299426.issue39573@roundup.psfhosted.org> |
| In-reply-to |
|
| Content |
> Hi, guys. Is there value in adding `PyNone_Check` macro?
"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.)". |
|