summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-01-26 02:09:03 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-01-26 02:09:03 (GMT)
commit89e12963ad7f0551b325b282267ad21011aa5fd7 (patch)
treec9cd271493eea6347e0d171a6fff80db75c4accb /Misc
parentd0005ff41fdb3e8806aaaf812a71ba507a83b14c (diff)
downloadcpython-89e12963ad7f0551b325b282267ad21011aa5fd7.zip
cpython-89e12963ad7f0551b325b282267ad21011aa5fd7.tar.gz
cpython-89e12963ad7f0551b325b282267ad21011aa5fd7.tar.bz2
As discussed on python-dev, remove several operator functions
isSequenceType(), isMappingType(), and isNumberType() in favor of using abstract base classes. Also, remove repeat() and irepeat() in favor of mul() and imul(). After the buildbots have had a go at this. Will backport to Py3.0.1. For Py2.7, will just mark as deprecated.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0263056..3c69228 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -144,6 +144,10 @@ Core and Builtins
Library
-------
+- Removed isSequenceType(), isMappingType, and isNumberType() from the
+ operator module; use the abstract base classes instead. Also removed
+ the repeat() function; use mul() instead.
+
- Issue #4863: distutils.mwerkscompiler has been removed.
- Fix and properly document the multiprocessing module's logging