Author serhiy.storchaka
Recipients python-dev, rhettinger, serhiy.storchaka, terry.reedy
Date 2017-11-25.20:35:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511642111.98.0.213398074469.issue28071@psf.upfronthosting.co.za>
In-reply-to
Content
This optimization caused a behavior change:

Python 3.5:

>>> set().difference([[]])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unhashable type: 'list'

Python 3.6:

>>> set().difference([[]])
set()
History
Date User Action Args
2017-11-25 20:35:12serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, terry.reedy, python-dev
2017-11-25 20:35:11serhiy.storchakasetmessageid: <1511642111.98.0.213398074469.issue28071@psf.upfronthosting.co.za>
2017-11-25 20:35:11serhiy.storchakalinkissue28071 messages
2017-11-25 20:35:11serhiy.storchakacreate