Skip to content

Left shift of zero allocates memory #72057

@AlexGroce

Description

@AlexGroce
mannequin
BPO 27870
Nosy @mdickinson, @bitdancer, @skrah, @serhiy-storchaka
Files
  • leftshiftalloc.py: Python file exhibiting the bug
  • lshift_zero.patch
  • lshift_zero_v2.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 = 'https://github.com/mdickinson'
    closed_at = <Date 2016-08-29.18:39:57.725>
    created_at = <Date 2016-08-26.19:12:23.598>
    labels = ['performance']
    title = 'Left shift of zero allocates memory'
    updated_at = <Date 2016-12-05.08:49:29.483>
    user = 'https://bugs.python.org/AlexGroce'

    bugs.python.org fields:

    activity = <Date 2016-12-05.08:49:29.483>
    actor = 'mark.dickinson'
    assignee = 'mark.dickinson'
    closed = True
    closed_date = <Date 2016-08-29.18:39:57.725>
    closer = 'mark.dickinson'
    components = []
    creation = <Date 2016-08-26.19:12:23.598>
    creator = 'Alex Groce'
    dependencies = []
    files = ['44236', '44255', '44256']
    hgrepos = []
    issue_num = 27870
    keywords = ['patch']
    message_count = 18.0
    messages = ['273717', '273725', '273726', '273727', '273729', '273730', '273731', '273739', '273740', '273861', '273862', '273863', '273873', '273877', '273878', '273879', '282293', '282400']
    nosy_count = 6.0
    nosy_names = ['mark.dickinson', 'r.david.murray', 'skrah', 'python-dev', 'serhiy.storchaka', 'Alex Groce']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue27870'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    performancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions