[Twisted-Python] Asynchronous code PEP

Kevin Horn kevin.horn at gmail.com
Wed Jun 1 17:34:18 EDT 2011


On Wed, Jun 1, 2011 at 4:21 PM, Laurens Van Houtven <_ at lvh.cc> wrote:

> It should really say something about protocol/transport separation early
>> on, though ;).
>>
>
> Pff, publishing finished work is for academics. Do you want me to be an
> academic, Glyph? Do you?
>
> I've added the stuff I got from Jim. FlowControl seems to be the equivalent
> of IPushProducer. Why does Protocol and Transport inherit from it? I don't
> understand why all Protocols and Transports are inherently
> pausable/resumable.
>
> cheers
> lvh
>
>
>
Hmmm...you might think about also allowing bytearrays everywhere it says
"data must be a bytestring".  Maybe there's some problem with that (I
haven't done a lot of Python3-style IO yet), but I don't think there is, and
if they are to be allowed, it should be explicitly mentioned, IMO.

Kevin Horn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20110601/388a1f5b/attachment.htm 


More information about the Twisted-Python mailing list