[ovs-dev] [PATCH v2 5/5] python: Remove old style classes.

Ben Pfaff blp at ovn.org
Fri Jan 22 05:03:34 UTC 2016


On Tue, Jan 12, 2016 at 02:45:49PM -0500, Russell Bryant wrote:
> Python 3 removed support for "old-style classes".  Classes should always
> inherit from object to get consistent behavior between Python 2 and 3.
> 
> Enable a flake8 warning to help prevent regressions in the future.
> 
> Signed-off-by: Russell Bryant <russell at ovn.org>

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list