Skip to content

del __debug__ should be a SyntaxError #89163

Closed
@aroberge

Description

@aroberge
BPO 45000
Nosy @aroberge, @corona10, @lysnikolaou, @pablogsal, @miss-islington
PRs
  • bpo-45000: Raise SyntaxError when try to delete __debug__ #27947
  • bpo-45000: Update whatsnews about deleting __debug__ #27956
  • [3.10] bpo-45000: Raise SyntaxError when try to delete __debug__ (GH-27947) #27957
  • [3.10] bpo-45000: Update whatsnews about deleting __debug__ (GH-27956). #27958
  • 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 2021-08-26.09:52:32.700>
    created_at = <Date 2021-08-25.11:50:39.044>
    labels = ['interpreter-core', 'type-bug', '3.10', '3.11']
    title = 'del __debug__ should be a SyntaxError'
    updated_at = <Date 2021-08-26.09:52:32.699>
    user = 'https://github.com/aroberge'

    bugs.python.org fields:

    activity = <Date 2021-08-26.09:52:32.699>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-08-26.09:52:32.700>
    closer = 'pablogsal'
    components = ['Parser']
    creation = <Date 2021-08-25.11:50:39.044>
    creator = 'aroberge'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45000
    keywords = ['patch']
    message_count = 5.0
    messages = ['400256', '400277', '400302', '400331', '400332']
    nosy_count = 5.0
    nosy_names = ['aroberge', 'corona10', 'lys.nikolaou', 'pablogsal', 'miss-islington']
    pr_nums = ['27947', '27956', '27957', '27958']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45000'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixesinterpreter-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