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.

Author djarb
Recipients djarb
Date 2007-12-07.18:04:15
SpamBayes Score 0.072932765
Marked as misclassified No
Message-id <1197050657.05.0.985688145598.issue1563@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch introduces async_chat.set_terminator_str and
async_chat.push_str methods, accepting a string and an encoding. It also
modifies the test suite and stdlib to use the _str versions, where
appropriate, adds tests for the new methods, and adds documentation.

The patch also includes two things not materially related to its main
purpose: a lot of docstrings, and a new async_chat.push_iterable method
allowing the use of an iterable as an async_chat data producer (along
with test and documentation). I figure docstrings are always justified,
and push_iterable is both short and highly useful.
Files
File name Uploaded
asynchat.diff djarb, 2007-12-07.18:04:15
History
Date User Action Args
2007-12-07 18:04:17djarbsetspambayes_score: 0.0729328 -> 0.072932765
recipients: + djarb
2007-12-07 18:04:17djarbsetspambayes_score: 0.0729328 -> 0.0729328
messageid: <1197050657.05.0.985688145598.issue1563@psf.upfronthosting.co.za>
2007-12-07 18:04:16djarblinkissue1563 messages
2007-12-07 18:04:15djarbcreate