消息 [106290]
I'm busy implementing the IEEE754 contexts for cdecimal. To keep things
in sync, it would be nice to agree how they should be created.
Suggestions:
1) c = Decimal64Context
2) c = Context(Decimal64)
3) ?
I have a preference for 2). It's clear that you get a new Object and
the user does not have to wonder if a template context will be
contaminated when using setcontext(Decimal64Context).
(I know there are measures against that, but setcontext( Context(Decimal64))
is explicit rather than implicit.) |
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-05-22 10:11:30 | skrah | 修改 | recipients:
+ skrah, rhettinger, facundobatista, mark.dickinson |
| 2010-05-22 10:11:29 | skrah | 修改 | messageid: <1274523089.36.0.922670045114.issue8540@psf.upfronthosting.co.za> |
| 2010-05-22 10:11:27 | skrah | 链接 | issue8540 messages |
| 2010-05-22 10:11:27 | skrah | 创建 | |
|