Serhiy Storchaka added the comment:
Sets often are used in following pattern:
def recurse(obj):
if subobj not in proceeding:
proceeding.add(obj)
for subobj in links(obj):
recurse(subobj)
proceeding.discard(obj)
In this case items are added and removed in LIFO order. How this change affects
this case?
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29476>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com