Skip to main content

Timeline for Verifying IPv6 addresses

Current License: CC BY-SA 3.0

14 events
when toggle format what by license comment
Apr 24, 2018 at 9:22 comment added Gnudiff While there are good answers that deal with your code as it is, it should be remarked that the best solution would depend on the things you are trying to learn. If it is string manipulation, this is fine. If it would strive for efficiency your solution could avoid all the strings by dealing with int(, base=16) of input parts, which probably would be more efficient. Ultimately, of course, in real life solution you should probably deal with Python ipv6 classes, as suggested in another answer.
Apr 23, 2018 at 23:49 vote accept Nauman Shahid
Apr 23, 2018 at 19:40 answer added Peter Green timeline score: 3
Apr 23, 2018 at 19:12 comment added kasperd It is legal to write the last 32 bits of an IPv6 address in quad-dotted notation.
Apr 23, 2018 at 17:05 answer added Glen Neff timeline score: 6
Apr 23, 2018 at 16:43 comment added Hagen von Eitzen Your code seems to reject ::1 and to accept 1::3:::6::8
Apr 23, 2018 at 16:10 history tweeted twitter.com/StackCodeReview/status/988450114556628993
Apr 23, 2018 at 14:29 history edited 200_success
edited tags
Apr 23, 2018 at 12:24 history edited Daniel CC BY-SA 3.0
edited tags; edited title
Apr 23, 2018 at 10:33 answer added Daniel timeline score: 8
Apr 23, 2018 at 10:25 answer added Toby Speight timeline score: 33
Apr 23, 2018 at 10:02 answer added SylvainD timeline score: 10
Apr 23, 2018 at 9:59 answer added Peilonrayz timeline score: 28
Apr 23, 2018 at 9:30 history asked Nauman Shahid CC BY-SA 3.0