Mark Dickinson added the comment: > But I think that the int constructor should convert its result to exact int.
Agreed. See also issue 17576 and previous discussions on python-dev (thread started in March, but most of the messages in April): - https://mail.python.org/pipermail/python-dev/2013-March/125022.html - https://mail.python.org/pipermail/python-dev/2013-April/125042.html I don't have strong feelings about `__trunc__` (or `__floor__` and `__ceil__`); it seems fine to me for those to be returning something other than a strict int. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26984> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com