[Python-Dev] IPv6 docs (original) (raw)
Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sun, 5 Aug 2001 00:28:32 +0200
- Previous message: [Python-Dev] [offtopic] /usr/bin/env vs linux
- Next message: [Python-Dev] IPv6 docs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If you could post this as a separate patch on SourceForge and label it as documentation, I should be able to get to it this coming week.
I've applied itojun's patch, with slight modifications.
Itojun, I have a few questions on this documentation, though:
You write that socket.herror and socket.gaierror may both take either a string or a pair of error number/message. Is this correct, or was that a cut-n-paste error from socket.error?
You also write that socket.gethostbyname may raise socket.herror. Is this true? It seems that you'll always get socket.gaierror instead. I've changed it to say that gethostbyname_ex may raise herrors.
Anyway, thanks for the patch.
Regards, Martin
- Previous message: [Python-Dev] [offtopic] /usr/bin/env vs linux
- Next message: [Python-Dev] IPv6 docs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]