Issue 2752: Wrong comment in socket documentation (original) (raw)
Issue2752
This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/47001
classification
Title: | Wrong comment in socket documentation | ||
---|---|---|---|
Type: | Stage: | ||
Components: | Documentation | Versions: | Python 2.6 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | georg.brandl | Nosy List: | benjamin.peterson, georg.brandl, giampaolo.rodola |
Priority: | normal | Keywords: |
Created on 2008-05-04 05:08 by giampaolo.rodola, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (6) | ||
---|---|---|
msg66191 - (view) | Author: Giampaolo Rodola' (giampaolo.rodola) * ![]() |
Date: 2008-05-04 05:08 |
In the example section of socket module I see: HOST = '' # Symbolic name meaning the local host PORT = 50007 # Arbitrary non-privileged port '', at least on Windows, is an alias for telling the socket to listen on all available interfaces while 'localhost' is used for referencing the local interface (usually '127.0.0.1'). | ||
msg66199 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2008-05-04 09:15 |
Thanks, fixed in r62695. | ||
msg66245 - (view) | Author: Giampaolo Rodola' (giampaolo.rodola) * ![]() |
Date: 2008-05-04 21:53 |
http://docs.python.org/dev/library/socket.html#example The second example (the IPv4/IPv6 server) still reports the local interface. | ||
msg66246 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2008-05-04 22:02 |
The online docs probably haven't rebuilt yet. | ||
msg66250 - (view) | Author: Giampaolo Rodola' (giampaolo.rodola) * ![]() |
Date: 2008-05-04 22:26 |
Fine. I just thought you had modified it only in one place. | ||
msg66288 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2008-05-05 21:07 |
Fixed in r62740, thanks! |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:33 | admin | set | github: 47001 |
2008-05-05 21:07:24 | georg.brandl | set | messages: + |
2008-05-04 22:26:53 | giampaolo.rodola | set | messages: + |
2008-05-04 22:02:37 | benjamin.peterson | set | nosy: + benjamin.petersonmessages: + |
2008-05-04 21:53:34 | giampaolo.rodola | set | messages: + |
2008-05-04 09:15:35 | georg.brandl | set | status: open -> closedresolution: fixedmessages: + |
2008-05-04 05:08:29 | giampaolo.rodola | create |