Jim Jewett <jimjjew...@gmail.com> added the comment:

Can't this be triggered by non-malicious code that just happened to have a 
python comparison and get hit with a thread switch?

I'm not sure how often it happens, but today it would not be visible to the 
user; after the patch, users will see a sporadic failure that they can't easily 
defend against.

Would it be worth adding a counter to lookdict, so that one modification is OK, 
but 5 aren't?

----------
nosy: +Jim.Jewett

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14205>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to