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 serhiy.storchaka
Recipients Gerard Weatherby, eric.smith, r.david.murray, serhiy.storchaka
Date 2017-10-31.07:07:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509433625.15.0.213398074469.issue31905@psf.upfronthosting.co.za>
In-reply-to
Content
I concur. IPvNetwork is not a general purposed collection. And even genera purposed collections can have restrictions on the arguments of "in". E.g.:

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

Similar issue already was raised (maybe not for IPvNetwork, but for other class supporting the "in" operator) and was closed with the same arguments.
History
Date User Action Args
2017-10-31 07:07:05serhiy.storchakasetrecipients: + serhiy.storchaka, eric.smith, r.david.murray, Gerard Weatherby
2017-10-31 07:07:05serhiy.storchakasetmessageid: <1509433625.15.0.213398074469.issue31905@psf.upfronthosting.co.za>
2017-10-31 07:07:05serhiy.storchakalinkissue31905 messages
2017-10-31 07:07:04serhiy.storchakacreate