Skip to content

Inconsistency in overflow error messages of integer argument #60192

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 15988
Nosy @terryjreedy, @mdickinson, @ezio-melotti, @serhiy-storchaka, @orenmn
PRs
  • bpo-15988: make various overflow messages more consistent and helpful #668
  • Dependencies
  • bpo-15989: Possible integer overflow of PyLong_AsLong() results
  • bpo-28298: can't set big int-like objects to items in array 'Q', 'L' and 'I'
  • bpo-29816: Get rid of C limitation for shift count in right shift
  • Files
  • issue15988_ver1.diff: proposed patches diff file - ver1
  • testPatches.py: an ugly script that tests my patches
  • PyLong_As_and_PyArg_Parse_patchVer1.diff
  • formats_patchVer1.diff
  • array_patchVer1.diff
  • hashlib_lzma_pickle_patchVer1.diff
  • time_and_re_patchVer1.diff
  • curses_stat_callproc_abstract_patchVer1.diff
  • mmap_posix_socket_select_patchVer1.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 = 'https://github.com/serhiy-storchaka'
    closed_at = None
    created_at = <Date 2012-09-20.18:51:09.840>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Inconsistency in overflow error messages of integer argument'
    updated_at = <Date 2017-09-28.06:45:38.532>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2017-09-28.06:45:38.532>
    actor = 'Oren Milman'
    assignee = 'serhiy.storchaka'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2012-09-20.18:51:09.840>
    creator = 'serhiy.storchaka'
    dependencies = ['15989', '28298', '29816']
    files = ['45107', '45108', '46733', '46736', '46738', '46739', '46740', '46741', '46742']
    hgrepos = []
    issue_num = 15988
    keywords = ['patch']
    message_count = 29.0
    messages = ['170827', '170950', '170979', '219609', '270474', '270478', '270479', '278738', '278742', '289337', '289355', '289653', '289679', '289684', '289691', '289693', '289695', '289799', '289814', '289833', '289842', '289843', '289846', '289850', '289852', '289853', '299735', '300218', '303192']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'mark.dickinson', 'ezio.melotti', 'serhiy.storchaka', 'Oren Milman']
    pr_nums = ['668']
    priority = 'low'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue15988'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Labels

    interpreter-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