Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NESTED WHILE CYCLES ERROR #55537

Closed
negius mannequin opened this issue Feb 26, 2011 · 2 comments
Closed

NESTED WHILE CYCLES ERROR #55537

negius mannequin opened this issue Feb 26, 2011 · 2 comments
Labels
build The build process and cross-build interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@negius
Copy link
Mannequin

negius mannequin commented Feb 26, 2011

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']

    @negius
    Copy link
    Mannequin Author

    negius mannequin commented Feb 26, 2011

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

    @negius negius mannequin added interpreter-core (Objects, Python, Grammar, and Parser dirs) build The build process and cross-build labels Feb 26, 2011
    @alex
    Copy link
    Member

    alex commented Feb 26, 2011

    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.

    @pitrou pitrou closed this as completed Feb 26, 2011
    @pitrou pitrou added the invalid label Feb 26, 2011
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    build The build process and cross-build interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants