diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-02-06 22:10:50 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-02-06 22:10:50 (GMT) |
commit | 2fc9263df56d28a6c1def6c8a0517bbddfa899af (patch) | |
tree | 3a4f03d86c54781d8db9d9f03eb0d9ba20e44e0d /Misc | |
parent | 55b8c3e26fe608a1caf65cb35e41cdcbd8353426 (diff) | |
download | cpython-2fc9263df56d28a6c1def6c8a0517bbddfa899af.zip cpython-2fc9263df56d28a6c1def6c8a0517bbddfa899af.tar.gz cpython-2fc9263df56d28a6c1def6c8a0517bbddfa899af.tar.bz2 |
Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaN
raise InvalidOperation (and return False if InvalidOperation is trapped).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -391,6 +391,9 @@ Core and builtins Library ------- +- #1979: Add rich comparisons to Decimal, and make Decimal comparisons + involving a NaN follow the IEEE 754 standard. + - #2004: tarfile.py: Use mode 0700 for temporary directories and default permissions for missing directories. |