On Nov 15, 2011, at 9:57 AM, exar...@twistedmatrix.com wrote:
> On 02:33 pm, tobias.oberst...@tavendo.de wrote:
>> 2 short questions .. please consider:
>>
>> a)
>> reactor.callLater(0, fun1)
>> reactor.callLater(0, fun2)
>>
>> Is that allowed .. delay == 0? It seems to work .. but I want to be
On Tue, Nov 15, 2011 at 11:36 AM, Jeffrey Ollie wrote:
> I'm using twisted.python.log to do some logging in an application.
> It's formatting the output like " [-] ". I've seen
> in some of my other applications that the contents of "[-]" can change
> depending on how the code is reached. Is th
I'm using twisted.python.log to do some logging in an application.
It's formatting the output like " [-] ". I've seen
in some of my other applications that the contents of "[-]" can change
depending on how the code is reached. Is there a way that I can
customize this in my application? I'd like
On Tue, 15 Nov 2011 14:57:17 -
exar...@twistedmatrix.com wrote:
> >b)
> >reactor.callLater(T, fun1)
> >reactor.callLater(T, fun2)
> >
> >Is the call _order_ first fun1, then fun2 _guaranteed_?
> >For every T, and in particular T == 0?
>
> This isn't guaranteed. It's been proposed that it shou
On 02:33 pm, tobias.oberst...@tavendo.de wrote:
>2 short questions .. please consider:
>
>a)
>reactor.callLater(0, fun1)
>reactor.callLater(0, fun2)
>
>Is that allowed .. delay == 0? It seems to work .. but I want to be
>sure.
Yep. It's allowed. It means to run the function pretty soon, but not
2 short questions .. please consider:
a)
reactor.callLater(0, fun1)
reactor.callLater(0, fun2)
Is that allowed .. delay == 0? It seems to work .. but I want to be sure.
b)
reactor.callLater(T, fun1)
reactor.callLater(T, fun2)
Is the call _order_ first fun1, then fun2 _guaranteed_?
For every T,
> > and the fact that Python uses fopen() from libc, not open() from Posix
>
> I know you've solved it know, but just to check, you are of course aware of
> os.open (which maps directly to Posix open)
Yes, thanks, I am aware.
However, i.e. Twisted Web uses open(), not os.open():
twisted.python.
On 11/14/2011 05:57 PM, Tobias Oberstein wrote:
> and the fact that Python uses fopen() from libc, not open() from Posix
I know you've solved it know, but just to check, you are of course aware
of os.open (which maps directly to Posix open)
___
Twiste