On 9 Apr 2014 00:15, "Greg Ewing" <greg.ew...@canterbury.ac.nz> wrote: > > Victor Stinner wrote: >> >> I started to implement the RFC 1924 to have a full support. >> >> 3 days later, when my code was working, I saw the date of the RFC... > > > Do you still have the code? It needn't go to waste -- this > would make a fine addition to Python's easter egg basket!
Even if not it would be pretty easy to reimplement - maybe 10-20 loc. If you look the joke is they represent 128 bit ipaddrs in a base that's relatively prime to 2, necessitating a full bignum library just for io. But python has bignums for free... -n
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com