[Python-Dev] Mixing float and Decimal -- thread reboot

Nick Coghlan ncoghlan at gmail.com
Wed Mar 24 12:48:40 CET 2010


Raymond Hettinger wrote:
> The decimal module is already drowning in complexity,
> so it would be best to keep it simple:  one boolean flag
> that if set would warn about any implicit decimal/float
> interaction.

Agreed - those that want exceptions instead can use the usual warnings
module mechanisms to trigger them.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list