[Patches] [ python-Patches-1522059 ] Remove operator.truth() and operator.abs()

SourceForge.net noreply at sourceforge.net
Thu Jul 13 22:10:57 CEST 2006


Patches item #1522059, was opened at 2006-07-13 16:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1522059&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 3000
Status: Open
Resolution: None
Priority: 5
Submitted By: Collin Winter (collinwinter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Remove operator.truth() and operator.abs()

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1522059&group_id=5470


More information about the Patches mailing list