[Python-Dev] _socket efficiencies ideas (original) (raw)
Gisle Aas gisle@ActiveState.com
09 Apr 2003 20:45:52 -0700
- Previous message: [Python-Dev] _socket efficiencies ideas
- Next message: [Python-Dev] _socket efficiencies ideas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing <greg@cosc.canterbury.ac.nz> writes:
Marcus Mendenhall <marcus.h.mendenhall@vanderbilt.edu>:
> Just: if (string[0]=='<' && not strncmp(string,"",9)) > {whatever} By the same token, checking whether the first char is a digit ought to weed out about 99.999% of all non-numeric domain name addresses.
3m.com is a registered domain name.
Regards, Gisle Aas, ActiveState
- Previous message: [Python-Dev] _socket efficiencies ideas
- Next message: [Python-Dev] _socket efficiencies ideas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]