back chain is not paused when a callback returns another Deferred
IOW, don't use it as a Deferred.
The Mochikit implementation looks much more similar to Twisted.
--
Amaury Forgeot d'Arc
___
Twisted-Python mailing list
Twisted-Python@twistedm
> safe besides of reading source codes? Or I use
> reacator.callFromThread for all related methods from threads other than
> reactor thread?
Yes. Unless it is clearly mentioned in a function's documentation,
reactor.callFromThread is the only function that is safe to call fro
working,
after exactly 1000 datagrams have been received (and no, it's not related to
sys.setrecursionlimit)
--
Amaury Forgeot d'Arc
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
ed,
the & character is a special character in XML. You are parsing an
invalid XML string.
This page says it well:
http://www.devx.com/tips/Tip/14068
(a 10 years old "tip of the day"!)
--
Amaury Forgeot d'Arc
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
above, so I would like to understand why
it does not work in this case.
--
Amaury Forgeot d'Arc
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
28', 'BUY', 'IBM', 1000, 45.00),
('2006-04-05', 'BUY', 'MSOFT', 1000, 72.00),
('2006-04-06', 'SELL', 'IBM', 500, 53.00),
]:
c.execute('insert into stocks values (?,?,?,?,?)', t)
d2.addCallback( printResults, 1)
> d2.addCallback( printResults, 2)
>
>
> d1.addCallback(fireLater, d2)
> d1.callback("fire")
>
> reactor.run()
> *********end
I've already written this some times:
d1.addCallback(5, reactor.callLater,
limit of MAX_LENGTH = 16384 bytes per "line".
When you send 100KB in a row, it calls it lineLengthExceeded() method
and loses its connection...
> File transfers are not best done using a line-oriented protocol. Have a
> look
> at the "Protocol