A
Andy Leszczynski
Python 2.3, one of the latest Twisted version:
I noted that under Linux there is not way to Control-C the reactor loop.
After digging a little I found that following change helpes:
[root@d1501-0a10109c internet]# diff base.py{,.ori}
< print "1",sysEvtTriggers
305d303
< print "2",`self._eventTriggers`
307,308c305
< for callable, args, kw in sysEvtTriggers[1]:
< print "3"
---
< print "4"
320d315
< print "5",`eventType`
Of course it is quick work around, not a permanent fix, but it really helps.
Please advice, Andy
I noted that under Linux there is not way to Control-C the reactor loop.
After digging a little I found that following change helpes:
[root@d1501-0a10109c internet]# diff base.py{,.ori}
302d301
< print "1",sysEvtTriggers
305d303
< print "2",`self._eventTriggers`
307,308c305
< for callable, args, kw in sysEvtTriggers[1]:
< print "3"
---
317d313>
> for callable, args, kw in sysEvtTriggers[0]:
< print "4"
320d315
< print "5",`eventType`
Of course it is quick work around, not a permanent fix, but it really helps.
Please advice, Andy