classification
Title: Remove operator.truth() and operator.abs()
Type: Stage:
Components: Library (Lib) Versions: Python 3.0
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: collinwinter, gvanrossum (2)
Priority: normal Keywords patch

Created on 2006-07-13 20:10 by collinwinter, last changed 2008-01-06 22:29 by admin.

Files
File name Uploaded Description Edit Remove
py3k-remove_operator_truth_abs.patch collinwinter, 2006-07-13 20:10 Against r50623
Messages (2)
msg50693 - (view) Author: Collin Winter (collinwinter) Date: 2006-07-13 20:10
operator.truth() and operator.abs() are both intended
to be passed to higher-order function like map, reduce,
filter, etc. However, both of these are redundant with
the builtins bool() and abs(), respectively. The
attached patch will remove operator.truth() and .abs()
for Python 3000.
msg50694 - (view) Author: Collin Winter (collinwinter) Date: 2007-03-08 00:41
Rejected by the BDFL in http://mail.python.org/pipermail/python-3000/2007-March/006081.html, closing.
History
Date User Action Args
2008-01-06 22:29:46adminsetkeywords: - py3k
versions: + Python 3.0
2006-07-13 20:10:57collinwintercreate