[New-bugs-announce] [issue2954] [PATCH] Make bisect module functions accept an optional comparison callable

Leandro Lucarella report at bugs.python.org
Fri May 23 23:53:07 CEST 2008


New submission from Leandro Lucarella <llucax at gmail.com>:

bisect module functions should accept a comparison callable to customize
the way items are compared to do the binary search.

Attached is a patch to the Python implementation of bisect module.

----------
components: Library (Lib)
files: bisect.py.cmp.patch
keywords: patch
messages: 67271
nosy: llucax
severity: normal
status: open
title: [PATCH] Make bisect module functions accept an optional comparison callable
type: feature request
versions: Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5, Python 2.6
Added file: http://bugs.python.org/file10420/bisect.py.cmp.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2954>
__________________________________


More information about the New-bugs-announce mailing list