]> granicus.if.org Git - python/commit
As discussed on python-dev, remove several operator functions
authorRaymond Hettinger <python@rcn.com>
Mon, 26 Jan 2009 02:09:03 +0000 (02:09 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 26 Jan 2009 02:09:03 +0000 (02:09 +0000)
commit89e12963ad7f0551b325b282267ad21011aa5fd7
treec9cd271493eea6347e0d171a6fff80db75c4accb
parentd0005ff41fdb3e8806aaaf812a71ba507a83b14c
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.
Doc/library/operator.rst
Lib/locale.py
Lib/test/test_array.py
Lib/test/test_bool.py
Lib/test/test_operator.py
Misc/NEWS
Modules/operator.c