summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-02 20:36:42 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-02 20:36:42 (GMT)
commite94c679df0b632bc929936ca54f0de006e1a6dc2 (patch)
tree79c6f9c819bb350a87917880ce5267394e64db79 /Misc
parent438cecd3de1388075d921a1b84121a33f10844eb (diff)
downloadcpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.zip
cpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.tar.gz
cpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.tar.bz2
Issue #1717: rename tp_compare to tp_reserved. I'll change the
type of tp_compare in a separate commit, for ease of reversion should things go wrong.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 2 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 96d0e73..36dfa2c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -14,9 +14,8 @@ Core and Builtins
- Issue #1717: Removed builtin cmp() function, dropped tp_compare
slot, the C API functions PyObject_Compare and PyUnicode_Compare and
- the type definition cmpfunc. The tp_compare slot is reserved for
- future usage. An attempt to initialize a type with a nonzero
- tp_compare slot will raise TypeError.
+ the type definition cmpfunc. The tp_compare slot has been renamed
+ to tp_reserved, and is reserved for future usage.
- Issue #4707: round(x, n) now returns an integer if x is an integer.
Previously it returned a float.