Alexander Belopolsky <[EMAIL PROTECTED]> added the comment:

Actually, the patch contains an exploitable bug:

$ cat x.py
class X(int):
    def __eq__(self, other):
        raise ValueError

x = range(X(1),X(10),X(1))
x == x

$ ./python x.py
Segmentation fault (core dumped)

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2603>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to