Inconsistency in overflow error messages of integer argument

Open
#60,192 29 comments 0 reactions 1 assignee View on GitHub

@serhiy-storchaka is already working on this.

Since Jan 7, 2013.

Assessment

This issue has not been assessed yet.

Description

interpreter-core type-feature
BPO 15988
Nosy @terryjreedy, @mdickinson, @ezio-melotti, @serhiy-storchaka, @orenmn
PRs
  • python/cpython#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']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.