Author rhettinger
Recipients dan.uznanski, rhettinger
Date 2008-07-16.13:00:34
SpamBayes Score 0.00536708
Marked as misclassified No
Message-id <1216213235.83.0.349125086818.issue3374@psf.upfronthosting.co.za>
In-reply-to
Content
Issues:

1. In Py3.0, the cmp argument has been dropped completely.  It has been 
supplanted by the key function.

2. Previous feature requests for cmp/key/reverse have been rejected. 
The problem is that in a series of searches or insertions the key 
function should not be called more than once (as it is with sort), but 
the bisect functions potentially call it many times will the same 
argument.  The granularity is wrong.  Adding the cmp/key/reverse 
arguments tends to discourage correct design with a separate key table 
and a set of indexes.

3. Guido has articulated as design principle that prefer separate 
functions to having a flag, so the separate handedness functions should 
not be combined.  Also, the current design reflects typical use cases 
where an app decides on a handedness and never changes that decision.  
It would be a waste to repeated pass in a handedness argument that 
never changes.

Marking this as rejected so that you don't lose more time writing C 
versions and whatnot.
History
Date User Action Args
2008-07-16 13:00:36rhettingersetspambayes_score: 0.00536708 -> 0.00536708
recipients: + rhettinger, dan.uznanski
2008-07-16 13:00:35rhettingersetspambayes_score: 0.00536708 -> 0.00536708
messageid: <1216213235.83.0.349125086818.issue3374@psf.upfronthosting.co.za>
2008-07-16 13:00:35rhettingerlinkissue3374 messages
2008-07-16 13:00:34rhettingercreate