This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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
Priority: normal Keywords: patch

Created on 2006-07-13 20:10 by collinwinter, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
py3k-remove_operator_truth_abs.patch collinwinter, 2006-07-13 20:10 Against r50623
Messages (2)
msg50693 - (view) Author: Collin Winter (collinwinter) * (Python committer) 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) * (Python committer) 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
2022-04-11 14:56:18adminsetgithub: 43671
2008-01-06 22:29:46adminsetkeywords: - py3k
versions: + Python 3.0
2006-07-13 20:10:57collinwintercreate