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.

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

Created on 2009-01-29 13:20 by exe, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (7)
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) * (Python triager) 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) * (Python committer) 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.
msg127185 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2011-01-27 13:29
I documented this some months ago:
http://docs.python.org/library/asyncore.html#asyncore.dispatcher_with_send
Being asynchat's push() method more convenient for such kind of task I expressively avoided to be too specific about dispatcher_with_send.
History
Date User Action Args
2022-04-11 14:56:45adminsetgithub: 49347
2011-01-27 13:29:23giampaolo.rodolasetstatus: open -> closed
versions: - Python 2.6, Python 3.1
nosy: georg.brandl, josiahcarlson, dstanek, giampaolo.rodola, exe, ezio.melotti, r.david.murray
messages: + msg127185

resolution: fixed
2011-01-26 17:55:35dstaneksetnosy: + dstanek
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