Eli Bendersky eli...@gmail.com added the comment:
Closing this issue, since it specifically refers to the select error which was
fixed. Tracking the removal of the sockets howto document can be done elsewhere.
--
resolution: - fixed
status: open - closed
Eli Bendersky eli...@gmail.com added the comment:
Antoine, can you be more specific? I recall finding it quite useful when first
learning Python. Perhaps it can be improved in a few specific places, but
overall I don't think it's a bad document.
--
nosy: +eli.bendersky
Eli Bendersky eli...@gmail.com added the comment:
This issue Jean-Paul raises seems to be a plain error. select() certainly can
return that some given socket is both readable and writable (this is explicitly
discussed in Steven's APitUE $14.5), and I see no evidence in the
implementation of
Antoine Pitrou pit...@free.fr added the comment:
Well, my main issue with this document is that it doesn't seem to have a
well-defined destination:
- people who know sockets won't learn anything from it
- but people who don't know sockets will probably find it clear as mud (for
example, what's
Eli Bendersky eli...@gmail.com added the comment:
It makes sense to bring this up for discussion on pydev, then. Perhaps it will
be decided to remove this document from the official documentation, possibly
relegating it to the Wiki.
In the meantime, is there an objection to removing the
Antoine Pitrou pit...@free.fr added the comment:
It makes sense to bring this up for discussion on pydev, then.
Ok, done.
In the meantime, is there an objection to removing the incorrect
statement Jean-Paul mentioned from the doc?
Well, no.
--
Roundup Robot devnull@devnull added the comment:
New changeset c0a3e17e677f by Eli Bendersky in branch '2.7':
Issue 12126: removing incorrect claim about return value of select
http://hg.python.org/cpython/rev/c0a3e17e677f
--
nosy: +python-dev
___
Roundup Robot devnull@devnull added the comment:
New changeset ca4d9ccb6894 by Eli Bendersky in branch '3.1':
Issue 12126: removing incorrect claim about return value of select
http://hg.python.org/cpython/rev/ca4d9ccb6894
New changeset c26d551b5ff6 by Eli Bendersky in branch '3.2':
Issue
Antoine Pitrou pit...@free.fr added the comment:
The socket HOWTO looks so stupid, obscure and badly written that it should IMO
be deleted.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12126
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12126
___
___
New submission from Jean-Paul Calderone invalid@example.invalid:
http://docs.python.org/py3k/howto/sockets.html#non-blocking-sockets
And if you put a socket in more than one input list, it will only be (at most)
in one output list.
import socket
s = socket.socket()
s.connect(('localhost',
11 matches
Mail list logo