[Twisted-Python] deciding to use twisted or not

Martin-Louis Bright mlbright at gmail.com
Wed Aug 26 22:46:24 EDT 2009


Thanks! Your advice is much appreciated.

martin

On Wed, Aug 26, 2009 at 10:08 PM, Glyph Lefkowitz
<glyph at twistedmatrix.com>wrote:

> On Wed, Aug 26, 2009 at 9:54 PM, Cary Hull <cary.hull at gmail.com> wrote:
>
>> It would certainly be nice if Twisted supported async file io, but in this
>> case wouldn't a ProcessProtocol around 'tail -f' be a good solution as well?
>>
>
> That could work, but there are a few potential issues.  'tail' does
> slightly different stuff on different platforms.  Maybe you're on Windows
> and it isn't available.  Maybe it mangles your output (I know that some
> coreutils tools try to be encoding-aware, I don't know if 'tail' is one).
>  Maybe you want to get blocks of bytes off the end rather than lines, etc.
>  Then you also need to worry about housekeeping for a subprocess, which
> always turns out to be a little trickier than you first expect.
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20090826/74b1844a/attachment.htm 


More information about the Twisted-Python mailing list