Message175058
It would be possible to translate strings to integers; the infrastructure
is already there for pickling. The decision not to do that was actually
deliberate: Up to now no one has requested string constants for rounding
modes and I *suspect* that there's a performance penalty even though I
didn't measure it.
See Modules/_decimal/_decimal.c:1211 for the code that would need to
be called each time something like this occurs:
context.rounding = ROUND_UP |
|
Date |
User |
Action |
Args |
2012-11-07 09:36:11 | skrah | set | recipients:
+ skrah, mark.dickinson, yselivanov |
2012-11-07 09:36:11 | skrah | set | messageid: <1352280971.72.0.0694367226643.issue16422@psf.upfronthosting.co.za> |
2012-11-07 09:36:11 | skrah | link | issue16422 messages |
2012-11-07 09:36:11 | skrah | create | |
|