This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients larry, mdk, rhettinger, vstinner
Date 2016-11-24.21:07:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480021667.81.0.489541330256.issue28792@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2016-11-24 21:07:47vstinnersetrecipients: + vstinner, rhettinger, larry, mdk
2016-11-24 21:07:47vstinnersetmessageid: <1480021667.81.0.489541330256.issue28792@psf.upfronthosting.co.za>
2016-11-24 21:07:47vstinnerlinkissue28792 messages
2016-11-24 21:07:47vstinnercreate