Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
There is more serious issue: InterpreterID and ChannelID are declared as int subclasses, but actually they have incompatible structure, so using them as int causes a crash. For example, the following code is crashed: float(int(id)) == id ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38005> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com