This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
> `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:11vstinnersetrecipients: + vstinner, tim.peters, rhettinger, mark.dickinson, Carl.Friedrich.Bolz, Mark.Shannon, pablogsal, shihai1991
2021-04-08 11:37:11vstinnersetmessageid: <>
2021-04-08 11:37:11vstinnerlinkissue43753 messages
2021-04-08 11:37:11vstinnercreate