Author rhettinger
Recipients ethan.furman, gvanrossum, josh.r, rhettinger, serhiy.storchaka, steven.daprano, terry.reedy, veky, xtreak
Date 2020-11-09.16:51:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604940715.87.0.747282990455.issue35712@roundup.psfhosted.org>
In-reply-to
Content
One of the idioms for removing None no longer works:

>>> L = [0, 23, 234, 89, None, 0, 35, 9]
>>> list(filter(None.__ne__, L))
Warning (from warnings module):
  File "<pyshell#1>", line 1
DeprecationWarning: NotImplemented should not be used in a boolean context
[0, 23, 234, 89, 0, 35, 9]
History
Date User Action Args
2020-11-09 16:51:55rhettingersetrecipients: + rhettinger, gvanrossum, terry.reedy, steven.daprano, ethan.furman, serhiy.storchaka, josh.r, veky, xtreak
2020-11-09 16:51:55rhettingersetmessageid: <1604940715.87.0.747282990455.issue35712@roundup.psfhosted.org>
2020-11-09 16:51:55rhettingerlinkissue35712 messages
2020-11-09 16:51:55rhettingercreate