[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2019-04-11 Thread Jeremy McMillan
Jeremy McMillan added the comment: I think the code in SaltStack to handle scoped IPv6 addresses is mature, so please look at these examples. https://github.com/saltstack/salt/blob/2085cb1078f187adf82a0cf19b39d350ff1bbd50/salt/_compat.py#L125

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2018-09-24 Thread Jeremy McMillan
Jeremy McMillan added the comment: subclass workaround implementation example https://github.com/isbm/salt/blob/976fe19d73ca6bf5df375eaa15d77ce4a5a54b7a/salt/_compat.py#L125 -- ___ Python tracker <https://bugs.python.org/issue34

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2018-09-24 Thread Jeremy McMillan
New submission from Jeremy McMillan : ipaddress module has no support for scoped IPv6 addresses which prevents the use of ipaddress.ip_address() and ipaddress.IPv6Address() with (always available by default on IPv6 systems) RFC conforming IPv6 link local addresses that specify interface