Skip to content

Dict lookups fail if sizeof(Py_ssize_t) < sizeof(long) #44512

@ked-tao

Description

@ked-tao
mannequin
BPO 1646068
Nosy @tim-one, @loewis, @birkenfeld, @mdickinson, @abalkin, @pitrou
Superseder
  • bpo-9778: Make hash values the same width as a pointer (or Py_ssize_t)
  • Files
  • dict.diff: Suggested patch (against python 2.5 release)
  • issue1646068.diff: Patch for py3k branch revision 82889
  • 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/abalkin'
    closed_at = <Date 2010-11-20.18:53:51.223>
    created_at = <Date 2007-01-27.18:23:44.000>
    labels = ['interpreter-core', 'type-bug', 'build']
    title = 'Dict lookups fail if sizeof(Py_ssize_t) < sizeof(long)'
    updated_at = <Date 2010-11-20.18:53:51.223>
    user = 'https://bugs.python.org/ked-tao'

    bugs.python.org fields:

    activity = <Date 2010-11-20.18:53:51.223>
    actor = 'belopolsky'
    assignee = 'belopolsky'
    closed = True
    closed_date = <Date 2010-11-20.18:53:51.223>
    closer = 'belopolsky'
    components = ['Build', 'Interpreter Core']
    creation = <Date 2007-01-27.18:23:44.000>
    creator = 'ked-tao'
    dependencies = []
    files = ['2286', '18004']
    hgrepos = []
    issue_num = 1646068
    keywords = ['patch']
    message_count = 16.0
    messages = ['31105', '31106', '31107', '31108', '31109', '31110', '61525', '110293', '110300', '110303', '110306', '110307', '110310', '110315', '110329', '119021']
    nosy_count = 8.0
    nosy_names = ['tim.peters', 'loewis', 'georg.brandl', 'jimjjewett', 'mark.dickinson', 'belopolsky', 'pitrou', 'ked-tao']
    pr_nums = []
    priority = 'high'
    resolution = 'out of date'
    stage = 'patch review'
    status = 'closed'
    superseder = '9778'
    type = 'behavior'
    url = 'https://bugs.python.org/issue1646068'
    versions = ['Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
    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