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.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
:
> 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
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