[ovs-dev] [PATCH] windows, python: Fix event type returned from poller

aserdean at ovn.org aserdean at ovn.org
Wed Aug 23 10:05:09 UTC 2017


Does it make sense to use python ctypes instead of pypiwin32?

It seems better to make our own calls instead of using wrappers which treat
just certain cases.

Acked-by: Alin Gabriel Serdean <aserdean at ovn.org>

> -----Original Message-----
> From: ovs-dev-bounces at openvswitch.org [mailto:ovs-dev-
> bounces at openvswitch.org] On Behalf Of Russell Bryant
> Sent: Tuesday, August 22, 2017 6:34 PM
> To: Alin Balutoiu <abalutoiu at cloudbasesolutions.com>
> Cc: dev at openvswitch.org
> Subject: Re: [ovs-dev] [PATCH] windows, python: Fix event type returned
> from poller
> 
> Ah, that makes sense for the Python version.
> 
> The Python docs were sparse, so I wasn't sure.
> 
> On Tue, Aug 22, 2017 at 8:35 AM, Alin Balutoiu
> <abalutoiu at cloudbasesolutions.com> wrote:
> > Looking at the implementation of WaitForMultipleObjects in Python it
> > looks that the call will raise an exception if WAIT_FAILED is
> > returned. This case is treated by the try/except block around the
> WaitForMultipleObjects function.
> >
> > Thanks,
> > Alin Balutoiu.
> >



More information about the dev mailing list