Issue5097
Created on 2009-01-29 13:20 by exe, last changed 2009-10-02 14:30 by ezio.melotti.
|
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.
|
|
| Date |
User |
Action |
Args |
| 2009-10-02 14:30:15 | ezio.melotti | set | nosy:
+ ezio.melotti
|
| 2009-10-02 14:26:19 | r.david.murray | set | priority: 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:10 | exe | set | messages:
+ msg93429 |
| 2009-02-02 14:32:04 | exe | set | messages:
+ 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:12 | exe | set | messages:
+ msg80930 |
| 2009-01-31 19:52:39 | giampaolo.rodola | set | nosy:
+ giampaolo.rodola |
| 2009-01-30 23:17:26 | josiahcarlson | set | messages:
+ msg80842 |
| 2009-01-29 15:57:12 | benjamin.peterson | set | assignee: georg.brandl -> josiahcarlson nosy:
+ josiahcarlson |
| 2009-01-29 13:20:33 | exe | create | |
|