[issue33424] 4.4. break and continue Statements, and else Clauses on Loops

Steven D'Aprano report at bugs.python.org
Fri May 4 02:38:23 EDT 2018


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Joe, we have no idea what you think is the bug.

It is intentional that the second argument for range is excluded. This is called an "half-open" range, and it helps avoid off-by-one and signpost errors.

Your comments about break, continue and else don't seem to actually mean anything. Please write in complete English sentences and explain the nature of the supposed bug.

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33424>
_______________________________________


More information about the Python-bugs-list mailing list