Mailing List Archive

[issue5097] asyncore.dispatcher_with_send undocumented
New submission from Kandalintsev Alexandre <bug_hunter@messir.net>:

Hello!

asyncore.dispatcher_with_send undocumented in all python versions

----------
assignee: georg.brandl
components: Documentation
messages: 80763
nosy: exe, georg.brandl
severity: normal
status: open
title: asyncore.dispatcher_with_send undocumented

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue5097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue5097] asyncore.dispatcher_with_send undocumented [ In reply to ]
Changes by Benjamin Peterson <benjamin@python.org>:


----------
assignee: georg.brandl -> josiahcarlson
nosy: +josiahcarlson

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue5097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue5097] asyncore.dispatcher_with_send undocumented [ In reply to ]
Josiah Carlson <josiahcarlson@users.sourceforge.net> added the comment:

Feel like writing some documentation?

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue5097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue5097] asyncore.dispatcher_with_send undocumented [ In reply to ]
Changes by Giampaolo Rodola' <billiejoex@users.sourceforge.net>:


----------
nosy: +giampaolo.rodola

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue5097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue5097] asyncore.dispatcher_with_send undocumented [ In reply to ]
Kandalintsev Alexandre <bug_hunter@messir.net> added the comment:

Ok, I'll try :). I'll send it today or tomorrow.

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue5097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue5097] asyncore.dispatcher_with_send undocumented [ In reply to ]
Kandalintsev Alexandre <bug_hunter@messir.net> added the comment:

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.

----------
versions: +Python 2.4, Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue5097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com