Message 281651 - Python tracker

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.

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)