Skip to content

NESTED WHILE CYCLES ERROR #55537

Description

@negius
mannequin
BPO 11328
Nosy @alex
Files
  • bug.py: error proof
  • 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 2011-02-26.08:03:18.616>
    created_at = <Date 2011-02-26.07:58:40.740>
    labels = ['interpreter-core', 'build', 'invalid']
    title = 'NESTED WHILE CYCLES ERROR'
    updated_at = <Date 2011-02-26.08:03:18.615>
    user = 'https://bugs.python.org/negius'

    bugs.python.org fields:

    activity = <Date 2011-02-26.08:03:18.615>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-02-26.08:03:18.616>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2011-02-26.07:58:40.740>
    creator = 'negius'
    dependencies = []
    files = ['20903']
    hgrepos = []
    issue_num = 11328
    keywords = []
    message_count = 2.0
    messages = ['129506', '129507']
    nosy_count = 2.0
    nosy_names = ['alex', 'negius']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = None
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue11328'
    versions = ['Python 2.6', 'Python 2.7', 'Python 3.2']

    Activity

    1. negius commented on Feb 26, 2011

      negiusmannequin
      MannequinAuthor

      Nested "while" cycles does not work. This make impossible to write a class of programs with nested while cycles.

    2. added
      interpreter-core(Objects, Python, Grammar, and Parser dirs)
      buildThe build process and cross-build
      on Feb 26, 2011
    3. alex commented on Feb 26, 2011

      @alex
      Member

      This is invalid, there's no bug. j doesn't get magically reinitialized to 0, in fact this code would do the same thing in any language I can think of.

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions