Message58277
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. |
|
| Date |
User |
Action |
Args |
| 2007-12-07 18:04:17 | djarb | set | spambayes_score: 0.0729328 -> 0.0729328 recipients:
+ djarb |
| 2007-12-07 18:04:17 | djarb | set | spambayes_score: 0.0729328 -> 0.0729328 messageid: <1197050657.05.0.985688145598.issue1563@psf.upfronthosting.co.za> |
| 2007-12-07 18:04:16 | djarb | link | issue1563 messages |
| 2007-12-07 18:04:15 | djarb | create | |
|