Skip to content

__debug__ is not optimized out at compile time for anything but if: and while: blocks #71356

@MojoVampire

Description

@MojoVampire
BPO 27169
Nosy @arigo, @nascheme, @serhiy-storchaka, @eryksun, @MojoVampire
PRs
  • bpo-27169: The __debug__ constant is now optimized out at compile time. #4880
  • [3.6] bpo-27169: The __debug__ constant is now optimized out at compile time. (GH-4880) #4882
  • bpo-32365: Fix a reference leak when compile __debug__. #4916
  • [3.6] bpo-32365: Fix a reference leak when compile __debug__. (GH-4916) #4918
  • 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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2017-12-15.11:26:53.815>
    created_at = <Date 2016-05-31.18:50:58.224>
    labels = ['interpreter-core', 'type-bug', '3.7']
    title = '__debug__ is not optimized out at compile time for anything but `if:` and `while:` blocks'
    updated_at = <Date 2017-12-18.13:11:58.271>
    user = 'https://github.com/MojoVampire'

    bugs.python.org fields:

    activity = <Date 2017-12-18.13:11:58.271>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-12-15.11:26:53.815>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2016-05-31.18:50:58.224>
    creator = 'josh.r'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 27169
    keywords = ['patch']
    message_count = 7.0
    messages = ['266769', '266771', '266780', '308378', '308383', '308550', '308552']
    nosy_count = 6.0
    nosy_names = ['arigo', 'nascheme', 'SilentGhost', 'serhiy.storchaka', 'eryksun', 'josh.r']
    pr_nums = ['4880', '4882', '4916', '4918']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27169'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifeinterpreter-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