Re: [Twisted-Python] Urgent - reactor is not working out of a sudden

2015-05-02 Thread Pierre Jaury
Try looking for alternate reactor.py or reactor.pyc in your Python path maybe? kaiyou Le 02/05/2015 17:54, Jessica Tsui a écrit : > I was working on my program and everything was fine, out of the blue the > python editor just told me that connectTCP and listenTCP cannot be > referenced in reactor

[Twisted-Python] Twisted Web documentation out of date

2013-05-06 Thread Pierre Jaury
twisted.web.error module while it was moved to twisted.web.resource a while ago. I did not find any other outdated reference for now, yet this might not be as isolated as it seems. Regards, Pierre. -- Pierre Jaury Weblog - http://kaiyou.fr GPG ID - E804FB60 signature.asc Description: OpenPGP digital

Re: [Twisted-Python] Inline callbacks: generating the same Deferred at multiple places

2013-02-23 Thread Pierre Jaury
: > d2.callback(x) > return x > d.addBoth(fire) > return d2 > > @inlineCallbacks > def foo(): > result = yield fork(somethingAsync()) I will embed this one in my bundle of Twisted utility functions. Thanks! > Maybe

[Twisted-Python] Inline callbacks: generating the same Deferred at multiple places

2013-02-22 Thread Pierre Jaury
like someone to point out the one huge detail I completely forgot before I make this change by monkey patching and submit a feature request :) Regards, Pierre. -- Pierre Jaury Weblog - http://kaiyou.fr GPG ID - E804FB60 signature.asc Description: OpenPGP digital signature