Author mark.dickinson
Recipients mark.dickinson, rhettinger, steven.daprano
Date 2009-01-03.11:19:29
SpamBayes Score 0.000242129
Marked as misclassified No
Message-id <>
A couple more things:

1. There's a typo 'equilvalent' in the part of the patch.

2. Can I suggest using

return d._fix(self)

instead of 


in create_decimal_from_float.  The plus method does two things: rounds 
to the current context *and* converts -0.0 to 0.0; we only want the 
first of these.

(It's always been a source of mild irritation to me that there's no 
public method for simply rounding a Decimal to a given context---i.e., a 
public equivalent of _fix.)
Date User Action Args
2009-01-03 11:19:33mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, steven.daprano
2009-01-03 11:19:33mark.dickinsonsetmessageid: <>
2009-01-03 11:19:29mark.dickinsonlinkissue4796 messages
2009-01-03 11:19:29mark.dickinsoncreate