This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Akuli
Recipients Akuli, eric.smith, ezio.melotti, rhettinger, serhiy.storchaka, vstinner
Date 2017-07-21.19:37:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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'
Date User Action Args
2017-07-21 19:37:18Akulisetrecipients: + Akuli, rhettinger, vstinner, eric.smith, ezio.melotti, serhiy.storchaka
2017-07-21 19:37:18Akulisetmessageid: <>
2017-07-21 19:37:18Akulilinkissue30978 messages
2017-07-21 19:37:18Akulicreate