STINNER Victor added the comment: > However, if someone wants to investigate further and finds a fix, we will > evaluate it.
IMHO the best fix is to document that the exact behaviour depends on the platform, and that only IPv4 decimal and IPv6 hexadecimal are portable. Corner cases like IPv4 octal addresses are not portable, you should write your own parser. Note: I checked ipaddress, it doesn't seem to support the funny octal addresses format. Why do you need octal addresses? What is your use case? :-p ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27612> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com