Skip to content

ast.literal_eval does not properly handled complex numbers #49157

@mitsuhiko

Description

@mitsuhiko
BPO 4907
Nosy @birkenfeld, @rhettinger, @terryjreedy, @mdickinson, @benjaminp, @mitsuhiko
Files
  • literal-eval.patch: broken patch
  • literal-eval.patch
  • literal-eval.patch: final patch with unittests
  • 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 2009-01-13.11:52:55.417>
    created_at = <Date 2009-01-10.15:45:02.291>
    labels = ['type-bug', 'library']
    title = 'ast.literal_eval does not properly handled complex numbers'
    updated_at = <Date 2010-10-08.00:52:56.767>
    user = 'https://github.com/mitsuhiko'

    bugs.python.org fields:

    activity = <Date 2010-10-08.00:52:56.767>
    actor = 'rhettinger'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-01-13.11:52:55.417>
    closer = 'aronacher'
    components = ['Library (Lib)']
    creation = <Date 2009-01-10.15:45:02.291>
    creator = 'aronacher'
    dependencies = []
    files = ['12674', '12675', '12707']
    hgrepos = []
    issue_num = 4907
    keywords = ['patch']
    message_count = 17.0
    messages = ['79548', '79550', '79554', '79604', '79701', '79705', '79723', '79730', '79733', '79735', '79736', '79737', '79738', '79739', '79740', '80004', '118154']
    nosy_count = 7.0
    nosy_names = ['georg.brandl', 'rhettinger', 'terry.reedy', 'mark.dickinson', 'benjamin.peterson', 'gpolo', 'aronacher']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4907'
    versions = ['Python 2.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions