Skip to content

Strange error when convert hexadecimal with underscores to int #75800

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 31619
Nosy @birkenfeld, @mdickinson, @skrah, @serhiy-storchaka, @nitishch
PRs
  • bpo-31619 Compare only the number of digits in the check for overflow #3816
  • bpo-31619: Fixed a ValueError when convert a string with large number #3827
  • [3.6] bpo-31619: Fixed a ValueError when convert a string with large number of underscores (GH-3827) #3863
  • bpo-31619: Fixed integer overflow in converting huge strings to int. #3884
  • [3.6] bpo-31619: Fixed integer overflow in converting huge strings to int. (GH-3884) #4690
  • 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-12-03.21:28:05.191>
    created_at = <Date 2017-09-28.14:14:07.175>
    labels = ['interpreter-core', '3.7']
    title = 'Strange error when convert hexadecimal with underscores to int'
    updated_at = <Date 2017-12-03.21:28:05.190>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2017-12-03.21:28:05.190>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-12-03.21:28:05.191>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-09-28.14:14:07.175>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31619
    keywords = ['patch']
    message_count = 14.0
    messages = ['303240', '303263', '303310', '303321', '303331', '303337', '303339', '303346', '303347', '303595', '303606', '303686', '307523', '307526']
    nosy_count = 5.0
    nosy_names = ['georg.brandl', 'mark.dickinson', 'skrah', 'serhiy.storchaka', 'nitishch']
    pr_nums = ['3816', '3827', '3863', '3884', '4690']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31619'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions