Pop(0) method bug


#1

The pop(0) method doesn’t remove an element in “Prime Pathing” level, instead it removes last one. Bug also mentioned here.


#2

Specifically, this applies to Python.

This bug exists on every level.

Link to issue on GitHub


I spent 2 hours debugging a mistake in my python code and found this
#3

Alternative:

for item in list:
    list.remove(item)

#4

I would like to thank you quite a bit for that relatively simple observation. I’d been banging my head into “Queue Manager” for ages, getting really stuck where I was supposed to use the pop, and just seeing that really made it all click.