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 r.david.murray
Recipients exhuma, ncoghlan, pitrou, pmoody, r.david.murray
Date 2014-03-02.15:15:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393773314.12.0.240397710377.issue20825@psf.upfronthosting.co.za>
In-reply-to
Content
It seems from the ipaddress documentation that 'a.contains(b)' would appropriate.  But to avoid confusion with 'in', you could say a.covers(b).

However, 'in' is already used for <address> in <network>, and you can already get subnets out of a network (via 'subnets'), so it isn't completely crazy to consider the network a container of subnets (of varying sizes, depending on the arguments to subnet).
History
Date User Action Args
2014-03-02 15:15:14r.david.murraysetrecipients: + r.david.murray, ncoghlan, pitrou, pmoody, exhuma
2014-03-02 15:15:14r.david.murraysetmessageid: <1393773314.12.0.240397710377.issue20825@psf.upfronthosting.co.za>
2014-03-02 15:15:14r.david.murraylinkissue20825 messages
2014-03-02 15:15:13r.david.murraycreate