[issue3374] Bisect upgrades: key/cmp/reverse, parameterized handedness

2008-07-16 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: 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 insertio

[issue3374] Bisect upgrades: key/cmp/reverse, parameterized handedness

2008-07-16 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3374] Bisect upgrades: key/cmp/reverse, parameterized handedness

2008-07-16 Thread Dan Uznanski
New submission from Dan Uznanski <[EMAIL PROTECTED]>: Attached find a unified diff that upgrades the bisect module in two important ways: 1. bisect and friends now understand cmp, key, and reverse, the same way that list.sort does. 2. bisect and insort now have parameterized handedness: inste