Skip to content

3.8.0b2 no longer optimizes away "if 0:" ? #81681

@nedbat

Description

@nedbat
BPO 37500
Nosy @gvanrossum, @tim-one, @terryjreedy, @nedbat, @ambv, @serhiy-storchaka, @pganssle, @pablogsal, @miss-islington, @tirkarthi, @aldwinaldwin
PRs
  • [3.7] bpo-37500: Revert commit 85ed1712e428f93408f56fc684816f9a85b0ebc0 #14605
  • bpo-37500: Make sure dead code does not generate bytecode but also detect syntax errors #14612
  • [3.8] bpo-37500: Make sure dead code does not generate bytecode but also detect syntax errors (GH-14612) #14780
  • [3.8] bpo-37500: Make sure dead code does not generate bytecode but also detect syntax errors (GH-14612) #15002
  • 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 2019-07-29.15:17:11.699>
    created_at = <Date 2019-07-05.03:02:39.832>
    labels = ['3.8', '3.9', 'release-blocker']
    title = '3.8.0b2 no longer optimizes away "if 0:" ?'
    updated_at = <Date 2019-07-29.15:17:11.697>
    user = 'https://github.com/nedbat'

    bugs.python.org fields:

    activity = <Date 2019-07-29.15:17:11.697>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-07-29.15:17:11.699>
    closer = 'pablogsal'
    components = []
    creation = <Date 2019-07-05.03:02:39.832>
    creator = 'nedbat'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37500
    keywords = ['patch', '3.8regression']
    message_count = 44.0
    messages = ['347296', '347300', '347302', '347308', '347309', '347342', '347349', '347362', '347368', '347369', '347372', '347375', '347377', '347380', '347381', '347382', '347383', '347385', '347386', '347387', '347388', '347389', '347392', '347393', '347394', '347396', '347397', '347398', '347401', '347402', '347404', '347405', '347406', '347408', '347409', '347410', '347500', '347504', '347511', '347952', '348654', '348659', '348668', '348669']
    nosy_count = 11.0
    nosy_names = ['gvanrossum', 'tim.peters', 'terry.reedy', 'nedbat', 'lukasz.langa', 'serhiy.storchaka', 'p-ganssle', 'pablogsal', 'miss-islington', 'xtreak', 'aldwinaldwin']
    pr_nums = ['14605', '14612', '14780', '15002']
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue37500'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions