MCPcopy Create free account
hub / github.com/avicoder/spoodle / _parse_ipv6

Function _parse_ipv6

dnslib/dns.py:1105–1122  ·  view source on GitHub ↗

Parse IPv6 address. Ideally we would use the ipaddress module in Python3.3 but can't rely on having this. Does not handle dotted-quad addresses or subnet prefix >>> _parse_ipv6("::") == (0,) * 16 True >>> _parse_ipv6("1234:5678::abcd:0:ff00")

(a)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected