Carl Friedrich Bolz-Tereick <cfb...@gmx.de> added the comment:
Just chiming in to say that for PyPy this API would be extremely useful, because PyPy's "is" is not implementable with a pointer comparison on the C level (due to unboxing we need to compare integers, floats, etc by value). Right now, C extension code that compares pointers is subtly broken and cannot be fixed by us. ---------- nosy: +Carl.Friedrich.Bolz _______________________________________ 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