Issue 12725: Docs: Odd phrase "floating seconds" in socket.html (original) (raw)
Created on 2011-08-11 02:47 by Cris.Simpson, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
issue12725.patch | beardedp,2011-08-14 03:52 | review |
Messages (6) | ||
---|---|---|
msg141892 - (view) | Author: Cris Simpson (Cris.Simpson) | Date: 2011-08-11 02:47 |
In http://docs.python.org/library/socket.html, the description for socket.setdefaulttimeout(timeout) reads: Set the default timeout in *floating seconds* for new socket objects. [occurs two other times on that page] "floating seconds" is a confusing construction. Suggestion: "float expressing seconds" as per socket.settimeout(value) or "seconds (float)". | ||
msg141984 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2011-08-12 18:22 |
I agree 'floating seconds' is bad. I think I prefer your second alternative, but settimeout() and setdefaulttimeout should be consistent. | ||
msg142045 - (view) | Author: Ben Hayden (beardedp) * | Date: 2011-08-14 03:52 |
I made the suggested second change - both in the docs & the socketmodule.c file. If there's a different way to patch documentation, someone let me know. :D | ||
msg142049 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2011-08-14 05:30 |
New changeset dfe6f0a603d2 by Ezio Melotti in branch '2.7': #12725: fix working. Patch by Ben Hayden. http://hg.python.org/cpython/rev/dfe6f0a603d2 New changeset ab3432a81c26 by Ezio Melotti in branch '3.2': #12725: fix working. Patch by Ben Hayden. http://hg.python.org/cpython/rev/ab3432a81c26 New changeset 49e9e34da512 by Ezio Melotti in branch 'default': #12725: merge with 3.2. http://hg.python.org/cpython/rev/49e9e34da512 | ||
msg142050 - (view) | Author: Ezio Melotti (ezio.melotti) * ![]() |
Date: 2011-08-14 05:31 |
Fixed, thanks for the report and the patch! | ||
msg143487 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2011-09-04 06:56 |
New changeset 8730fdc9349f by Ezio Melotti in branch '3.2': #12725: fix working. Patch by Ben Hayden. http://hg.python.org/cpython/rev/8730fdc9349f |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:20 | admin | set | github: 56934 |
2011-09-04 06:56:37 | python-dev | set | messages: + |
2011-08-14 05:31:51 | ezio.melotti | set | status: open -> closednosy: + ezio.melottimessages: + resolution: fixedstage: needs patch -> resolved |
2011-08-14 05:30:05 | python-dev | set | nosy: + python-devmessages: + |
2011-08-14 03:52:51 | beardedp | set | files: + issue12725.patchnosy: + beardedpmessages: + keywords: + patch |
2011-08-12 18:22:28 | terry.reedy | set | nosy: + terry.reedymessages: + |
2011-08-12 16:22:22 | eric.araujo | set | keywords: + easynosy: + eric.araujostage: needs patchversions: + Python 3.3, - Python 2.6 |
2011-08-11 02:47:55 | Cris.Simpson | create |