[Python-Dev] Adventures with Decimal

Nick Coghlan ncoghlan at gmail.com
Fri May 20 11:22:20 CEST 2005


Raymond Hettinger wrote:
> Be careful with this proposed change.  It is a can of worms.
> Better yet, don't do it.  We already have a context aware
> constructor method if that is what you really want.

And don't forgot that 'context-aware-construction' can also be written:

   val = +Decimal(string_repr)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.blogspot.com


More information about the Python-Dev mailing list