A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/016714.html below:

[Python-Dev] IPv6 docs

[Python-Dev] IPv6 docs [Python-Dev] IPv6 docsMartin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sun, 5 Aug 2001 00:28:32 +0200
> 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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4