[issue3449] Update decimal module to version 1.68 of the IBM specification

Mark Dickinson report at bugs.python.org
Sat Jul 26 00:16:13 CEST 2008


New submission from Mark Dickinson <dickinsm at gmail.com>:

The IBM General Decimal Arithmetic Specification, on which the decimal 
module is based, has recently been updated to version 1.68;  the 
testcases from IBM have also been updated.

The comments in the decimal module clearly state that the decimal module 
should be kept in sync with the IBM specification, and that deviation 
from the spec is considered a bug.  So it seems to me that the decimal 
module should be updated, preferably before 2.6 and 3.0 come out.

As far as I can tell the required changes should be minimal:  max-
magnitude and min-magnitude definitely need changing, and there may be 
other minor changes necessary to make the new tests pass; I haven't 
looked properly yet.  I'll try to get to this in the next few days.

----------
assignee: marketdickinson
components: Library (Lib)
messages: 70284
nosy: facundobatista, marketdickinson, rhettinger
priority: critical
severity: normal
status: open
title: Update decimal module to version 1.68 of the IBM specification
type: behavior
versions: Python 2.6, Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3449>
_______________________________________


More information about the Python-bugs-list mailing list