Skip to content

getsizeof() on code objects is wrong #56623

@benjaminp

Description

@benjaminp
BPO 12414
Nosy @loewis, @rhettinger, @pitrou, @vstinner, @benjaminp, @serhiy-storchaka, @corona10
PRs
  • bpo-12414: Update code_sizeof() to take in account co_extras #1168
  • [3.6] bpo-12414: code_sizeof() update. (GH-1168) #1198
  • 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-04-20.08:27:07.286>
    created_at = <Date 2011-06-26.03:53:21.319>
    labels = ['interpreter-core', 'easy', 'type-bug', '3.7']
    title = 'getsizeof() on code objects is wrong'
    updated_at = <Date 2017-04-20.08:27:07.286>
    user = 'https://github.com/benjaminp'

    bugs.python.org fields:

    activity = <Date 2017-04-20.08:27:07.286>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-04-20.08:27:07.286>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2011-06-26.03:53:21.319>
    creator = 'benjamin.peterson'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 12414
    keywords = ['easy (C)']
    message_count = 11.0
    messages = ['139142', '139207', '290529', '290536', '290546', '290578', '291821', '291829', '291934', '291952', '291954']
    nosy_count = 7.0
    nosy_names = ['loewis', 'rhettinger', 'pitrou', 'vstinner', 'benjamin.peterson', 'serhiy.storchaka', 'corona10']
    pr_nums = ['1168', '1198']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12414'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeeasyinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions