Sept. 21, 2021
4:55 p.m.
Title is pretty self explanatory. Right the following causes an error: ```py
ipaddress.IPv4Address('localhost') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\ProgramData\Anaconda3\lib\ipaddress.py", line 1252, in __init__ self._ip = self._ip_int_from_string(addr_str) File "C:\ProgramData\Anaconda3\lib\ipaddress.py", line 1144, in _ip_int_from_string raise AddressValueError("Expected 4 octets in %r" % ip_str) ipaddress.AddressValueError: Expected 4 octets in 'localhost'
But it should just either convert `localhost` to `127.0.0.1` or maybe store `localhost` internally somehow.