Skip to content

Avoid raising OverflowError in bool() #74026

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 29840
Nosy @rhettinger, @terryjreedy, @mdickinson, @vstinner, @serhiy-storchaka
PRs
  • bpo-29840: bool() no longer raises OverflowError for objects without … #1211
  • Dependencies
  • bpo-29839: Avoid raising OverflowError in len() when len() returns negative large value
  • Files
  • bool-overflow.diff
  • bool-no-overflow-double-call.patch
  • 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 2017-04-23.07:14:38.991>
    created_at = <Date 2017-03-17.20:27:26.527>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Avoid raising OverflowError in bool()'
    updated_at = <Date 2017-04-23.07:14:38.989>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2017-04-23.07:14:38.989>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-04-23.07:14:38.991>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-03-17.20:27:26.527>
    creator = 'serhiy.storchaka'
    dependencies = ['29839']
    files = ['46731', '46826']
    hgrepos = []
    issue_num = 29840
    keywords = ['patch']
    message_count = 8.0
    messages = ['289781', '290139', '290606', '290615', '292064', '292121', '292140', '292156']
    nosy_count = 5.0
    nosy_names = ['rhettinger', 'terry.reedy', 'mark.dickinson', 'vstinner', 'serhiy.storchaka']
    pr_nums = ['1211']
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29840'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA 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