Skip to content

New bisect.contains function proposal #93294

Closed
@carlbordum

Description

@carlbordum

Feature or enhancement

contains function in bisect module that tells in O(log n) if an element is in a sorted list.

Pitch

It's a useful function and can easily be implemented wrong without care.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesstdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions