Skip to content

Get rid of C limitation for shift count in right shift #74002

Closed
@serhiy-storchaka

Description

@serhiy-storchaka
BPO 29816
Nosy @mdickinson, @vstinner, @serhiy-storchaka, @orenmn
PRs
  • bpo-29816: Shift operation now has less opportunity to raise OverflowError. #680
  • Remove outdated note about the constraning of the bit shift right operand. #1258
  • Files
  • patchDraft1.diff: a patch draft for reference only. also handles big positive ints
  • long-shift-overflow-long-long.diff
  • long-shift-overflow-divrem1.diff
  • 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-03-30.07:00:24.059>
    created_at = <Date 2017-03-15.08:55:17.278>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Get rid of C limitation for shift count in right shift'
    updated_at = <Date 2017-04-22.18:50:11.618>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2017-04-22.18:50:11.618>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-03-30.07:00:24.059>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-03-15.08:55:17.278>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['46727', '46747', '46748']
    hgrepos = []
    issue_num = 29816
    keywords = ['patch']
    message_count = 19.0
    messages = ['289650', '289651', '289652', '289654', '289658', '289660', '289662', '289692', '289697', '289751', '289767', '289878', '289898', '289984', '290011', '290012', '290824', '290826', '292133']
    nosy_count = 4.0
    nosy_names = ['mark.dickinson', 'vstinner', 'serhiy.storchaka', 'Oren Milman']
    pr_nums = ['680', '1258']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29816'
    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

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions