Re: [ovs-dev] [PATCH 08/11] python: Remove reamining direct type comparisons.

2016-02-02 Thread Ben Pfaff
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 o

[ovs-dev] [PATCH 08/11] python: Remove reamining direct type comparisons.

2016-01-22 Thread Russell Bryant
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 b