This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: decimal test version mismatch
Type: Stage:
Components: Versions: Python 3.5
process
Status: closed Resolution: later
Dependencies: Superseder:
Assigned To: Nosy List: RusiMody, eric.smith, skrah, zach.ware
Priority: normal Keywords:

Created on 2015-06-26 04:04 by RusiMody, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg245835 - (view) Author: Rusi (RusiMody) Date: 2015-06-26 04:04
In http://bugs.python.org/issue24507
there was an apprehension about changing the decimal test versions.

Poking around I find that the versions in headers of files in
Lib/test/decimaltestdata refer to version 2.59 and the IBM link
http://www2.hursley.ibm.com/decimal which is dead

Whereas help(decimal) points to
http://speleotrove.com/decimal/decarith.html -- version 1.70 

http://speleotrove.com/decimal/ contains dectest.zip which is
at version 2.62
msg245849 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2015-06-26 10:59
For libmpdec (and thus _decimal) I've always used the latest version
of dectest.zip. Upgrading decimaltestdata/* will not make any difference.
msg245854 - (view) Author: Rusi (RusiMody) Date: 2015-06-26 13:50
On Fri, Jun 26, 2015 at 4:29 PM, Stefan Krah <report@bugs.python.org> wrote:

>
> Stefan Krah added the comment:
>
> For libmpdec (and thus _decimal) I've always used the latest version
> of dectest.zip. Upgrading decimaltestdata/* will not make any difference.
>

Not sure Stefan what you are saying.
Under the assumption that you are addressing the apprehension of eric.smith
in the earlier bug-report http://bugs.python.org/issue24507, Eric's comment
is here reproduced:

> At least for the files in decimaltestdata, I'd be wary about changing
> them. My understanding is that these files are from the IBM decimal
> test library. I don't think we should stray from upstream here, even
> for something as simple as line endings.

> Unfortunately, the link http://www2.hursley.ibm.com/decimal from the
> file headers is no longer valid.
msg245855 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2015-06-26 14:38
I'm saying that decimal has already been tested against the
most recent test cases.  For (non-technical) reasons that I
don't want to go into right now, I'd prefer to postpone the
update though.
History
Date User Action Args
2022-04-11 14:58:18adminsetgithub: 68701
2015-06-26 14:38:45skrahsetstatus: open -> closed
resolution: later
messages: + msg245855
2015-06-26 13:50:52RusiModysetmessages: + msg245854
2015-06-26 10:59:05skrahsetnosy: + skrah
messages: + msg245849
2015-06-26 04:04:12RusiModycreate