Author Akuli
Recipients Akuli, eric.smith, ezio.melotti, haypo, rhettinger, serhiy.storchaka
Date 2017-07-21.19:37:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500665838.19.0.89720479083.issue30978@psf.upfronthosting.co.za>
In-reply-to
Content
I think all exceptions should be passed through. Things like
dict.__contains__ don't selectively turn some errors to KeyError
either; if something is not hashable it's a TypeError, not a KeyError.

    >>> [] in {}
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    TypeError: unhashable type: 'list'
History
Date User Action Args
2017-07-21 19:37:18Akulisetrecipients: + Akuli, rhettinger, haypo, eric.smith, ezio.melotti, serhiy.storchaka
2017-07-21 19:37:18Akulisetmessageid: <1500665838.19.0.89720479083.issue30978@psf.upfronthosting.co.za>
2017-07-21 19:37:18Akulilinkissue30978 messages
2017-07-21 19:37:18Akulicreate