2014-07-07 18:43 GMT+02:00 Luca Sbardella <[email protected]>:>
> I agree with all this, that is why pulsar Task inherits from asyncio Task.

Yury suggested me to add BaseEventLoop.create_task() method. But then
I realized that there is no more need to modify the event loop policy.

@Luca: being able to override the create_task() method of a base event
loop would be enough for your use case? I see that you have your own
event loop class (which inherits from asyncio.SelectorEventLoop) in
Pulsar.

My latest patch:
https://codereview.appspot.com/110820049/#ps100001

greenio also has its own event loop policy and event loop, so the
loop.create_task() method is enough.

Victor

Reply via email to