Skip to content

Invalid Behavior When a Default Argument is a Dictionary. #48431

@Pasha2009

Description

@Pasha2009
mannequin
BPO 4181
Nosy @tiran
Files
  • default_argument_dictionary_bug.py: a minimal demostration of the crash
  • 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 2008-10-22.21:54:43.152>
    created_at = <Date 2008-10-22.21:52:17.212>
    labels = ['interpreter-core', 'type-bug', 'invalid']
    title = 'Invalid Behavior When a Default Argument is a Dictionary.'
    updated_at = <Date 2008-10-22.21:54:43.143>
    user = 'https://bugs.python.org/Pasha2009'

    bugs.python.org fields:

    activity = <Date 2008-10-22.21:54:43.143>
    actor = 'christian.heimes'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-10-22.21:54:43.152>
    closer = 'christian.heimes'
    components = ['Interpreter Core']
    creation = <Date 2008-10-22.21:52:17.212>
    creator = 'Pasha2009'
    dependencies = []
    files = ['11861']
    hgrepos = []
    issue_num = 4181
    keywords = []
    message_count = 2.0
    messages = ['75114', '75115']
    nosy_count = 2.0
    nosy_names = ['christian.heimes', 'Pasha2009']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4181'
    versions = ['Python 2.5']

    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