gen = f(*args, **kwargs)
1183 42.3 MiB 0.0 MiB if not isinstance(gen,
types.GeneratorType):
1187 42.3 MiB 0.0 MiB return _inlineCallbacks(None,
gen, Deferred())
I am investigating why the actual function(i.e. my_daemon_fun()) was not
profiled? M
nt "Good bye!"
after = hp.heap() => *end* memory profiling here
leftover = after - before
print leftover
del hp
So far works fine. But moment I introduce @inlineCallbacks before
@profile(see below), I don't see memory getting profiled. Am I doing
somet
control/defer sending out 201?
Any sample code/link will be appreciated.
Regards
Vikas
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Hi,
Can somebody tell me what is the need of manhole in twisted? Specially I've
seen them in files like tap.py (twisted application process).
One usecase I've seen them is wrt ShellFactory classes:
manhole = ShellFactory()
manhole.setService(self)
internet.TCPServer(.config.dget('js
Hi Jonas,
This is nice.
But still we are retrying it repeatedly at regular interval(10). Can't
we get the notified asynchronously as and when handle is available.
Regards
Vikas
On 9/3/2014 6:10 PM, Jonas Brunsgaard wrote:
I would fiddle around with something like this.
le is available. How do I use
deferred/reactor in this scenario?
try:
handle = yield self.get_handle()
except SystemDelayException:
// code to re-attempt get_handle and return only when handle is
available
Regards
Vikas
___
Twisted-Python mailing