]> granicus.if.org Git - python/commit
Issue #28792: Remove aliases from _bisect
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 24 Nov 2016 22:31:59 +0000 (23:31 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 24 Nov 2016 22:31:59 +0000 (23:31 +0100)
commit1018fad6a4df3d7fcb0ec715867069044428a759
tree53d526d206fdf09058367ed28892b3d270242aa9
parented6de7345e7bc85e12da6e72f86ab69b2fd8c2dd
Issue #28792: Remove aliases from _bisect

Remove aliases from the C module. Always implement bisect() and insort()
aliases in bisect.py

Remove also the "# backward compatibility" command, there is no plan to
deprecate nor remove these aliases. When keys are equal, it makes sense to use
bisect.bisect() and bisect.insort().
Lib/bisect.py
Modules/_bisectmodule.c