[ovs-dev] [PATCH 08/11] python: Remove reamining direct type comparisons.
Ben Pfaff
blp at ovn.org
Tue Feb 2 21:18:26 UTC 2016
On Fri, Jan 22, 2016 at 09:32:30PM -0500, Russell Bryant wrote:
> I've hit several bugs in this Python 3 work where the fix was some code
> needed to be converted to use isinstance(). This has been primarily
> around deadling with the changes to unicode handling. Go ahead and
> convert the rest of the direct type comparisons to use isinstance(), as
> it could avoid a bug I haven't hit yet and it's more Pythonic, anyway.
>
> Signed-off-by: Russell Bryant <russell at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list