On Nov 1, 2011, at 10:20 PM, Tim Allen wrote:
> On Tue, Nov 01, 2011 at 02:48:02PM -0400, Glyph wrote:
>> If you can think of a better solution that addresses all of these
>> concerns simultaneously somehow, please share, I'd love to hear it
>> :-).
>
> I'm not sure if it addresses all your conc
On Tue, Nov 01, 2011 at 02:48:02PM -0400, Glyph wrote:
> If you can think of a better solution that addresses all of these
> concerns simultaneously somehow, please share, I'd love to hear it
> :-).
I'm not sure if it addresses all your concerns, but
twisted.python.context will let you set a parti
On Nov 1, 2011, at 4:36 PM, Phil Mayers wrote:
> One example, we use a tiny script wrapping DeferredSemaphore and
> t.p.utils.getProcessOutput to parallelise SSH scanning, because
> ssh-keyscan is (ahem) poorly implemented.
>
> Maybe I knock up more of these short 20-liners than is common? And
On Nov 1, 2011, at 10:38 AM, exar...@twistedmatrix.com wrote:
> Hello,
>
> I'd like for us to decide that we will introduce no new unit tests into
> Twisted's test suite which use the global reactor.
+1.
Let's add this to the coding standard. It doesn't look to me like anyone's
objecting.
Thank You very much!
On 11/02/2011 01:24 AM, Glyph wrote:
> On Nov 1, 2011, at 3:57 PM, Alexey Ganzha wrote:
>
>> Hello everebody.
>> May be somebody knows open source chat app for twisted web?
>> Possible not the complete app, but just skeleton. Possible some
>> snippets, pieces...
>> Will apprec
On Nov 1, 2011, at 3:57 PM, Alexey Ganzha wrote:
> Hello everebody.
> May be somebody knows open source chat app for twisted web?
> Possible not the complete app, but just skeleton. Possible some
> snippets, pieces...
> Will appreciate any suggestions.
There is a tutorial on how to build the a
On 09:37 pm, ra...@twistedmatrix.com wrote:
>On Tue, Nov 1, 2011 at 5:29 PM, Anton Gyllenberg wrote:
>>On Tue, Nov 1, 2011 at 20:48, Glyph wrote:
>> > On Nov 1, 2011, at 12:14 PM, Phil Mayers wrote:
>> >> I find the "pass reactor as 1st argument to everything" API pattern
>> >> messy. I'm sure th
On Tue, Nov 1, 2011 at 5:29 PM, Anton Gyllenberg wrote:
> On Tue, Nov 1, 2011 at 20:48, Glyph wrote:
> > On Nov 1, 2011, at 12:14 PM, Phil Mayers wrote:
> >> I find the "pass reactor as 1st argument to everything" API pattern
> >> messy. I'm sure there's a good reason. What is it?
> >
> > This p
On Tue, Nov 1, 2011 at 20:48, Glyph wrote:
> On Nov 1, 2011, at 12:14 PM, Phil Mayers wrote:
>> I find the "pass reactor as 1st argument to everything" API pattern
>> messy. I'm sure there's a good reason. What is it?
>
> This pattern is a solution to the problem, but I agree that it is possibly
On 11/01/2011 06:48 PM, Glyph wrote:
> Nevertheless, "real reactor as default argument" is not a huge
> improvement either, because it typically breaks one level out. If
> you have 'a(reactor=defaultReactor)' and then 'b()' needs to call
> 'a', half the time 'b' will forget to supply a reactor ar
On 11/01/2011 07:51 PM, Jonathan Lange wrote:
> Sorry, I thought you were asking us to come up with good reasons for
> why you find it messy.
Drat; upon re-reading my question, that meaning does suggest itself,
doesn't it? Oh well, never mind. I blame email...
__
Hello everebody.
May be somebody knows open source chat app for twisted web?
Possible not the complete app, but just skeleton. Possible some
snippets, pieces...
Will appreciate any suggestions.
Thanks.
___
Twisted-Python mailing list
Twisted-Python@twis
On Tue, Nov 1, 2011 at 12:45 PM, Phil Mayers wrote:
> On 01/11/11 16:18, Jonathan Lange wrote:
>> On Tue, Nov 1, 2011 at 12:14 PM, Phil Mayers wrote:
>>> On 01/11/11 15:28, Christopher Armstrong wrote:
>>>
I whole-heartedly agree with the sentiment, though. We need to get rid
of the glo
On Nov 1, 2011, at 12:14 PM, Phil Mayers wrote:
> On 01/11/11 15:28, Christopher Armstrong wrote:
>
>> I whole-heartedly agree with the sentiment, though. We need to get rid
>> of the global reactor.
>
> Why?
Sometimes you want a different reactor. The most common reason is unit
testing, alth
On 01/11/11 17:23, Corbin Simpson wrote:
> Singletons are an anti-pattern. Because the reactor is a singleton:
Note "some kind of".
I don't care how it's done, but I would have liked the common use case
(single reactor) to require no extra typing. But I think that ship has
sailed.
___
On Tue, Nov 1, 2011 at 10:06 AM, Phil Mayers wrote:
> On 01/11/11 16:58, Itamar Turner-Trauring wrote:
>>> I find the "pass reactor as 1st argument to everything" API pattern
>>> messy. I'm sure there's a good reason. What is it?
>>
>> 1. Supporting multiple reactors.
>
> Interesting. I had assume
On 01/11/11 16:58, Itamar Turner-Trauring wrote:
>> I find the "pass reactor as 1st argument to everything" API pattern
>> messy. I'm sure there's a good reason. What is it?
>
> 1. Supporting multiple reactors.
Interesting. I had assumed that was a "never on the cards" option. Would
it be possibl
> I find the "pass reactor as 1st argument to everything" API pattern
> messy. I'm sure there's a good reason. What is it?
1. Supporting multiple reactors.
2. Unit testing: if you have an explicit object, you can replace it more
easily with a fake.
__
On 01/11/11 16:18, Jonathan Lange wrote:
> On Tue, Nov 1, 2011 at 12:14 PM, Phil Mayers wrote:
>> On 01/11/11 15:28, Christopher Armstrong wrote:
>>
>>> I whole-heartedly agree with the sentiment, though. We need to get rid
>>> of the global reactor.
>>
>> Why?
>>
>> I find the "pass reactor as 1s
On Tue, Nov 1, 2011 at 12:14 PM, Phil Mayers wrote:
> On 01/11/11 15:28, Christopher Armstrong wrote:
>
>> I whole-heartedly agree with the sentiment, though. We need to get rid
>> of the global reactor.
>
> Why?
>
> I find the "pass reactor as 1st argument to everything" API pattern
> messy. I'm
On 01/11/11 15:28, Christopher Armstrong wrote:
> I whole-heartedly agree with the sentiment, though. We need to get rid
> of the global reactor.
Why?
I find the "pass reactor as 1st argument to everything" API pattern
messy. I'm sure there's a good reason. What is it?
On Tue, Nov 1, 2011 at 10:49 AM, Laurens Van Houtven <_...@lvh.cc> wrote:
> +1.
>
> Agree completely, did not realize this was still a point of contention.
>
>
I think the only point of contention would be if you're trying to modify an
existing piece of code that uses the global reactor, and you
+1.
Agree completely, did not realize this was still a point of contention.
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Hello,
I'd like for us to decide that we will introduce no new unit tests into
Twisted's test suite which use the global reactor.
These tests require extra complexity in trial - to support the Deferred,
to check for left over event sources (incompletely implemented), and to
clean up left over
Hello,
Just a heads up about the continuing experiment in porting Twisted to
Python 3. The port has reached the point where most of Twisted Core
and Twisted Names is now working. The exceptions are: twisted.cred,
twisted.protocols.sip, twisted.python.hook. This is validated by
running the corr
On 01/11/11 11:34, nivedita datta wrote:
> Hi all,
>
> I have to give a talk on twisted. Can anyone let me know about the
> limitations of twisted which can later be improved. Also let me know
> about the possible future extensions in twisted.
Well, the big one we face: does not currently support
Hi all,
I have to give a talk on twisted. Can anyone let me know about the
limitations of twisted which can later be improved. Also let me know about
the possible future extensions in twisted.
Regards,
Nivedita Datta
Student, IISc Bangalore
___
Twisted-
27 matches
Mail list logo