Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
On other hand, there are classes which define __int__ but not __trunc__: UUID and IP4Address. So it makes sense to keep separate __int__ and __trunc__. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44547> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com