Terry Jones te...@jon.es writes:
But, I also built some queuing things where I would have liked extra
information. For example, an app is processing jobs on behalf of a user,
[...]
Thinking about this for a little bit, it seems like there is quite a bit
more state to your jobs, that simply an
Hi Tom
Since most apis in twisted don't pass a canceller, the behavior is a2+a3.
Right. That was the intention (glyph's). It was expected that over time
more Twisted apis that create deferreds would add cancellers. As I
understand it, Kai Zhang is now adding cancellers to some apis returning
Hi again Tom
So, it seems to me that you want to represent your jobs as
more than simply a deferred. At the very least, you need to record what
the jobs is, so that it can be restarted later, if necessary.
Yes. The job class contained things like the function to call, its args,
timing
All--
Because I have seen it asked before (and because I have plans for it), I
have a half-way implementation of IMAP IDLE.
Yes, I am aware this is very uhh... fabulously written.
https://github.com/williammccall/twisted-imap-idle
Something I am looking to do is add a method to the Command
Hello,
I've noticed there are a couple public APIs in Twisted now that accept a
private positional argument. I use scare quotes because I don't see
how it's actually possible to make a positional argument private.
Given a function defined like this:
def foo(_bar=None):
...
There
On 03:42 pm, te...@jon.es wrote:
Hi JP
Thanks for the summary. I agree (and agreed in my first post in this
thread) that the CancelledError should (has to) come all the way back.
I
missed that we were still talking about that.
Was there a conclusion on Glyph's suggestion of using subclasses
On Jun 21, 2013, at 8:05 AM, exar...@twistedmatrix.com wrote:
Hello,
I've noticed there are a couple public APIs in Twisted now that accept a
private positional argument. I use scare quotes because I don't see how
it's actually possible to make a positional argument private.
Given a