Mark Dickinson <dicki...@gmail.com> added the comment:

I think there's no reason not to keep __trunc__ and math.trunc - they're 
natural counterparts to floor and ceil, and there's probably at least some code 
out there already using math.trunc.

It's the involvement of __trunc__ in the int() builtin that I'd quite like to 
deprecate and eventually remove. I think at this point it complicates the 
object model for no particularly good reason. But this is getting off-topic for 
this issue; I'll open a new one.

----------

_______________________________________
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

Reply via email to