Message390526
Mark:
> `is` is not well defined except for a small set of values, so the docs for `Py_Is` would have to so vague as to be worthless, IMO.
I don't propose to change the "is" operator semantic: Py_Is(x, y) is C would behave *exaclty* as "x is y" in Python.
Check my implementation: the IS_OP bytecode uses directly Py_Is(). |
|
Date |
User |
Action |
Args |
2021-04-08 11:37:11 | vstinner | set | recipients:
+ vstinner, tim.peters, rhettinger, mark.dickinson, Carl.Friedrich.Bolz, Mark.Shannon, pablogsal, shihai1991 |
2021-04-08 11:37:11 | vstinner | set | messageid: <1617881831.85.0.869863064703.issue43753@roundup.psfhosted.org> |
2021-04-08 11:37:11 | vstinner | link | issue43753 messages |
2021-04-08 11:37:11 | vstinner | create | |
|