This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients mark.dickinson, rhettinger, serhiy.storchaka
Date 2021-08-22.15:25:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629645948.87.0.542291736715.issue44977@roundup.psfhosted.org>
In-reply-to
Content
Possibly, we could have math.trunc() call __int__, letting us deprecate __trunc__.

That would let users avoid gratuitous aliasing such as that in _pydecimal.py:

   __trunc__ = __int__
History
Date User Action Args
2021-08-22 15:25:48rhettingersetrecipients: + rhettinger, mark.dickinson, serhiy.storchaka
2021-08-22 15:25:48rhettingersetmessageid: <1629645948.87.0.542291736715.issue44977@roundup.psfhosted.org>
2021-08-22 15:25:48rhettingerlinkissue44977 messages
2021-08-22 15:25:48rhettingercreate