Kshitish <[email protected]> added the comment:
for i in range(1,11):
try:
if i == i:
print(i)
if i == 5:
continue
print(i,'poc')
except:
print("Out")
Output:
1
2
3
4
5
6
7
8
9
10
As you can see the continue keyword is not working. The out put should be like
that:
1
2
3
4
6
7
9
10
But it is not and this is the bug because every keyword must work as their
task. if they they not then may be the code will be affected by this
vulnerability.
Thank you
----------
status: closed -> open
Added file: https://bugs.python.org/file49657/main.py
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42570>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com