Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Avoid raising OverflowError in len() when __len__() returns negative large value #74025

Copy link
Copy link
@serhiy-storchaka

Description

@serhiy-storchaka
Issue body actions
BPO 29839
Nosy @warsaw, @terryjreedy, @vstinner, @serhiy-storchaka, @orenmn
PRs
  • bpo-29839: Raise ValueError rather than OverflowError in len() for negative values. #701
  • 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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2017-04-16.07:05:36.437>
    created_at = <Date 2017-03-17.19:52:14.485>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Avoid raising OverflowError in len() when __len__() returns negative large value'
    updated_at = <Date 2017-04-16.07:05:36.434>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2017-04-16.07:05:36.434>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-04-16.07:05:36.437>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-03-17.19:52:14.485>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29839
    keywords = []
    message_count = 5.0
    messages = ['289779', '289782', '290109', '291740', '291742']
    nosy_count = 5.0
    nosy_names = ['barry', 'terry.reedy', 'vstinner', 'serhiy.storchaka', 'Oren Milman']
    pr_nums = ['701']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29839'
    versions = ['Python 3.7']

    Reactions are currently unavailable

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifeend of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.