STINNER Victor <vstin...@python.org> added the comment:
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(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43753> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com