[Python-Dev] Rounding Decimals

Raymond Hettinger python at rcn.com
Mon Jan 7 08:28:57 CET 2008


[Jeffrey Yasskin]
> Given Guido's agreement, expect another version of this patch with
> only __trunc__.

Why is __trunc__ being backported?  Is a trunc() builtin being backported?  What is the point for a synonym for int() and __int__ in 
Py2.6.

Unless I'm missing something, this doesn't improve Py2.6 in the least.


Raymond 


More information about the Python-Dev mailing list