[New-bugs-announce] [issue31905] IPv4Networkcontains raises exception on None

Gerard Weatherby report at bugs.python.org
Mon Oct 30 16:56:08 EDT 2017


New submission from Gerard Weatherby <gerard.weatherby at gmail.com>:

Given a IPvNetwork network
if x in network:
   ...

raises an AttributeError instead of returning False.

----------
components: Library (Lib)
files: ne.py
messages: 305250
nosy: Gerard Weatherby
priority: normal
severity: normal
status: open
title: IPv4Networkcontains raises exception on None
type: behavior
versions: Python 3.6
Added file: https://bugs.python.org/file47247/ne.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31905>
_______________________________________


More information about the New-bugs-announce mailing list