[Python-Dev] _socket efficiencies ideas (original) (raw)

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 10 Apr 2003 17:49:19 +1200 (NZST)


Indeed, Anthony brought the example of 911.com, which has been registered despite being illegal.

At least 911 is greater than 255, which unfortunately isn't the case for 123.

But all these would be caught by requiring a full 4-number address before deciding it's numeric. (I don't think it's worth allowing for 0-padding if there are less than 4 numbers.)

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+