Author vstinner
Recipients Carl.Friedrich.Bolz, Mark.Shannon, mark.dickinson, pablogsal, rhettinger, shihai1991, tim.peters, vstinner
Date 2021-04-08.11:37:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617881831.85.0.869863064703.issue43753@roundup.psfhosted.org>
In-reply-to
Content
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().
History
Date User Action Args
2021-04-08 11:37:11vstinnersetrecipients: + vstinner, tim.peters, rhettinger, mark.dickinson, Carl.Friedrich.Bolz, Mark.Shannon, pablogsal, shihai1991
2021-04-08 11:37:11vstinnersetmessageid: <1617881831.85.0.869863064703.issue43753@roundup.psfhosted.org>
2021-04-08 11:37:11vstinnerlinkissue43753 messages
2021-04-08 11:37:11vstinnercreate