Message175024
Right now decimal.py defines 'ROUND_DOWN' as 'ROUND_DOWN' (string), whereas C version define it as 1 (integer).
While using constant values directly in your code is not a good idea, there is another case where it doesn't work: if you serialize decimal values along with their meta information, such as rounding settings. In this case, when you unserialize data that was serialized with python decimal, those meta-settings won't work for 'c' decimal. |
|
Date |
User |
Action |
Args |
2012-11-06 23:04:32 | yselivanov | set | recipients:
+ yselivanov, skrah |
2012-11-06 23:04:32 | yselivanov | set | messageid: <1352243072.7.0.172202427654.issue16422@psf.upfronthosting.co.za> |
2012-11-06 23:04:32 | yselivanov | link | issue16422 messages |
2012-11-06 23:04:30 | yselivanov | create | |
|