Message281651
Attached patch simplifies the _bisect module: remove _bisect.bisect and _bisect.insort aliases. Aliases are created in Lib/bisect.py.
I wrote the patch to prepare the C code for Argument Clinic, see issue #28754.
Note: Lib/test/test_bisect.py already contains two unit tests:
def test_backcompatibility(self):
self.assertEqual(self.module.bisect, self.module.bisect_right)
def test_backcompatibility(self):
self.assertEqual(self.module.insort, self.module.insort_right) |
|
Date |
User |
Action |
Args |
2016-11-24 21:07:47 | vstinner | set | recipients:
+ vstinner, rhettinger, larry, mdk |
2016-11-24 21:07:47 | vstinner | set | messageid: <1480021667.81.0.489541330256.issue28792@psf.upfronthosting.co.za> |
2016-11-24 21:07:47 | vstinner | link | issue28792 messages |
2016-11-24 21:07:47 | vstinner | create | |
|