One problem in the code: it kinda seems you want to receive lines, but
you're overriding dataReceived instead of lineReceived in
RedisWorkProtocol. At the very minimum you shouldn't assume dataReceived is
called with the exact bytes that were written on the other side.
More importantly, I assume r
On Fri, 28 Sep 2012 11:40:54 -0700
Glyph wrote:
>
> Le Sep 28, 2012 à 1:10 AM, Antoine Pitrou a écrit :
>
> > (whether Python itself should try to GC-collect when MemoryError is
> > raised is an open question)
>
> Shouldn't it be doing a GC collect _before_ MemoryError is raised? (Isn't
> thi
Le Sep 28, 2012 à 1:10 AM, Antoine Pitrou a écrit :
> (whether Python itself should try to GC-collect when MemoryError is
> raised is an open question)
Shouldn't it be doing a GC collect _before_ MemoryError is raised? (Isn't this
rather the whole point of having a garbage collector?)
-glyph_
Le Sep 28, 2012 à 10:16 AM, exar...@twistedmatrix.com a écrit :
> On 27 Sep, 11:15 am, p.may...@imperial.ac.uk wrote:
>> On 27/09/12 03:47, Jonathan Vanasco wrote:
>>> thanks so much for the quick response, and i wish i thought of
>>> looking in the FAQ ( just searched online, and nothing relevan
On 27 Sep, 11:15 am, p.may...@imperial.ac.uk wrote:
>On 27/09/12 03:47, Jonathan Vanasco wrote:
>>thanks so much for the quick response, and i wish i thought of
>>looking in the FAQ ( just searched online, and nothing relevant came
>>up )
>>
>>Will defer.setDebugging(True) make these errors print/l
Hi Paul -
I'm very new to twisted (I've only just started using it, so I apologise if
> anything I ask is seemingly obvious!).
> I'm looking to try and set up a FTP server which will serve a file
> structure and files which don't exists on the server (the file structure
> information is stored on
On Fri, 28 Sep 2012 00:09:23 -0700
Glyph wrote:
>
> Le Sep 27, 2012 à 7:41 PM, Benjamin Rutt a écrit :
>
> > Hi, I am trying to understand what will happen in my long-running twisted
> > server program when the available memory is low.
>
> Probably nothing good.
>
> > If I run the following
Le Sep 27, 2012 à 7:41 PM, Benjamin Rutt a écrit :
> Hi, I am trying to understand what will happen in my long-running twisted
> server program when the available memory is low.
Probably nothing good.
> If I run the following program with increasing numeric seeds as arguments, 0,
> 1, 2, 3,