[Python-ideas] libuv based eventloop for tulip experiment
Guido van Rossum
guido at python.org
Wed Feb 6 02:04:16 CET 2013
On Tue, Feb 5, 2013 at 4:45 PM, Saúl Ibarra Corretgé <saghul at gmail.com> wrote:
> Nikolay Kim wrote:
>>
>> i used uv_events as default event loop and ran all tulip tests with it.
>> but those failures are not related to uv_events anyway
>> I'd inherit uv_events.EventLoop from base_events.BaseEventLoop.
>>
>
> Why? There is not much code that can be reused, since timers are not needed
> and the _run_once function is also not applicable.
Because the test mocks base_events.socket. :-) That's not a great
reason, I agree. Perhaps you and Nikolay can work on a better way to
do the mocking so it doesn't rely on base_events?
--
--Guido van Rossum (python.org/~guido)
More information about the Python-ideas
mailing list