Skip to content

Add a clamp function to the math module #85580

@SFM61319

Description

@SFM61319
mannequin
BPO 41408
Nosy @rhettinger, @mdickinson, @tirkarthi, @SFM61319
Superseder
  • bpo-36788: Add clamp() function to builtins
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2020-07-27.16:23:46.367>
    created_at = <Date 2020-07-27.12:28:33.417>
    labels = ['type-feature', 'library', '3.10']
    title = 'Add a `clamp` function to the `math` module'
    updated_at = <Date 2020-07-28.07:32:49.941>
    user = 'https://github.com/SFM61319'

    bugs.python.org fields:

    activity = <Date 2020-07-28.07:32:49.941>
    actor = 'mark.dickinson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-07-27.16:23:46.367>
    closer = 'SFM61319'
    components = ['Library (Lib)']
    creation = <Date 2020-07-27.12:28:33.417>
    creator = 'SFM61319'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41408
    keywords = []
    message_count = 6.0
    messages = ['374373', '374376', '374388', '374391', '374393', '374396']
    nosy_count = 5.0
    nosy_names = ['rhettinger', 'mark.dickinson', 'stutzbach', 'xtreak', 'SFM61319']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '36788'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue41408'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions