[issue41893] remove() method is not working as expected(Hard to explain)

2020-09-30 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue41893] remove() method is not working as expected(Hard to explain)

2020-09-30 Thread Ben
Ben added the comment: See the note in https://docs.python.org/3.7/reference/compound_stmts.html#the-for-statement "There is a subtlety when the sequence is being modified by the loop ..." Since your code is mutating the all_fields list as you iterate it, you get the " next item will be s

[issue41893] remove() method is not working as expected(Hard to explain)

2020-09-30 Thread pushpam kumar
New submission from pushpam kumar : I am not able to understand why "password" word is not removed by remove() method -- components: Interpreter Core files: testtt.py messages: 377708 nosy: ctf.challenge.pushpam priority: normal severity: normal status: open title: remove() method is n