classification
Title: asyncore.dispatcher_with_send undocumented
Type: Stage: needs patch
Components: Documentation Versions: Python 3.2, Python 3.1, Python 2.7, Python 2.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: josiahcarlson Nosy List: exe, ezio.melotti, georg.brandl, giampaolo.rodola, josiahcarlson, r.david.murray (6)
Priority: normal Keywords

Created on 2009-01-29 13:20 by exe, last changed 2009-10-02 14:30 by ezio.melotti.

Messages (6)
msg80763 - (view) Author: Kandalintsev Alexandre (exe) Date: 2009-01-29 13:20
Hello!

asyncore.dispatcher_with_send undocumented in all python versions
msg80842 - (view) Author: Josiah Carlson (josiahcarlson) Date: 2009-01-30 23:17
Feel like writing some documentation?
msg80930 - (view) Author: Kandalintsev Alexandre (exe) Date: 2009-02-02 08:49
Ok, I'll try :). I'll send it today or tomorrow.
msg80940 - (view) Author: Kandalintsev Alexandre (exe) Date: 2009-02-02 14:32
This is my explanation of dispatcher_with_send. As my english is far from 
perfect and I'm not expirienced writing documentation you need to review 
it and fix my mistakes.


class asyncore.dispatcher_with_send

This is class based on asyncore.dispatcher. The only difference that 
unlike dispatcher.send which is direct mean to the socket.send() send() 
of this class uses buffered io. At first all outgoing data saved to the 
buffer and later it will send when socket becomes avaliable for write. 
Thus dispatcher_with_send.send() will never return EWOULDBLOCK error. 
Also you shuldn't overrdie writable() method as in this dispatcher it 
will automatically return convient value depending weither output buffer 
empty or not.
msg93429 - (view) Author: Kandalintsev Alexandre (exe) Date: 2009-10-02 09:04
Please don't keep this bug open :(
msg93446 - (view) Author: R. David Murray (r.david.murray) Date: 2009-10-02 14:26
Oh, we sometimes keep bugs open for years around here, until someone
finds time to deal with them.  It's our collective memory...thanks for
taking a crack at the wording.  If you feel like turning it into a patch
against the documentation (which is in the Doc directory of a CVS
checkout, see http://www.python.org/dev for more info on how to generate
a patch), someone might get to it sooner.
History
Date User Action Args
2009-10-02 14:30:15ezio.melottisetnosy: + ezio.melotti
2009-10-02 14:26:19r.david.murraysetpriority: normal
versions: + Python 3.2, - Python 2.5, Python 2.4, Python 3.0
nosy: + r.david.murray

messages: + msg93446

stage: needs patch
2009-10-02 09:04:10exesetmessages: + msg93429
2009-02-02 14:32:04exesetmessages: + msg80940
versions: + Python 2.6, Python 2.5, Python 2.4, Python 3.0, Python 3.1, Python 2.7
2009-02-02 08:49:12exesetmessages: + msg80930
2009-01-31 19:52:39giampaolo.rodolasetnosy: + giampaolo.rodola
2009-01-30 23:17:26josiahcarlsonsetmessages: + msg80842
2009-01-29 15:57:12benjamin.petersonsetassignee: georg.brandl -> josiahcarlson
nosy: + josiahcarlson
2009-01-29 13:20:33execreate