Skip to content

int('\0') gives wrong error message #65745

@KurtRose

Description

@KurtRose
mannequin
BPO 21546
Nosy @vstinner, @eryksun
Superseder
  • bpo-16741: int(), float(), etc think python strings are null-terminated
  • 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 2014-05-23.20:39:13.204>
    created_at = <Date 2014-05-20.23:38:26.531>
    labels = ['interpreter-core', 'type-bug']
    title = "int('\\0') gives wrong error message"
    updated_at = <Date 2014-05-23.20:39:13.203>
    user = 'https://bugs.python.org/KurtRose'

    bugs.python.org fields:

    activity = <Date 2014-05-23.20:39:13.203>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-05-23.20:39:13.204>
    closer = 'terry.reedy'
    components = ['Interpreter Core']
    creation = <Date 2014-05-20.23:38:26.531>
    creator = 'Kurt.Rose'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 21546
    keywords = []
    message_count = 3.0
    messages = ['218859', '218860', '218862']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'eryksun', 'Kurt.Rose']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '16741'
    type = 'behavior'
    url = 'https://bugs.python.org/issue21546'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

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