New submission from Александр Балезин:
Current realization of _BaseNetwork.__contains__ always returns False if other
is _BaseNetwork. This patch implements proper comparison of _BaseNetwork
objects.
--
components: Library (Lib)
files: ipaddress_contains_network.patch
keywords: patch
New submission from Александр Балезин:
Current check "address in network" is seems a bit odd:
int(self.network_address) <= int(other._ip) < int(self.broadcast_address)
This patch make this in bit-operation manner. Perfomace test:
import ipaddress
import timeit
cl
New submission from Александр Балезин :
In conf file:
"keyе_ = ,,"
Get next exception:
File "/usr/lib/python2.6/dist-packages/configobj.py", line 1230, in __init__
self._load(infile, configspec)
File "/usr/lib/python2.6/dist-packages/configobj.py", line