Georg Brandl added the comment: As seen from the __eq__ example, the exception should be SyntaxError. With both changes, it works fine again in r60142.
As for why the test is there, maybe the operator functions had lax error checking once. ---------- nosy: +georg.brandl resolution: -> fixed status: open -> closed __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1876> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com