[Python-checkins] python/dist/src/Misc NEWS, 1.1193.2.40,
1.1193.2.41
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sun Mar 27 12:55:46 CEST 2005
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16884/Misc
Modified Files:
Tag: release24-maint
NEWS
Log Message:
- Fixed decimal operator and comparison methods to return NotImplemented
instead of raising a TypeError when interacting with other types.
Allows other classes to successfully implement __radd__ style methods.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1193.2.40
retrieving revision 1.1193.2.41
diff -u -d -r1.1193.2.40 -r1.1193.2.41
--- NEWS 18 Mar 2005 10:59:04 -0000 1.1193.2.40
+++ NEWS 27 Mar 2005 10:55:26 -0000 1.1193.2.41
@@ -12,6 +12,10 @@
Library
-------
+- Fixed decimal operator and comparison methods to return NotImplemented
+ instead of raising a TypeError when interacting with other types.
+ Allows other classes to successfully implement __radd__ style methods.
+
- Bug #1163325: Decimal infinities failed to hash. Attempting to
hash a NaN raised an InvalidOperation instead of a TypeError.
More information about the Python-checkins
mailing list