From c51e919be60e1b215fb03707cbff1874b839ef86 Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Fri, 31 Aug 2018 23:25:03 +0200 Subject: [PATCH] Update settings.py deprecated_virtuals should be set to False (not None) to prevent warning messages during the virtual methods scanning. As a matter of fact, None is equivalent to False, with the added warning message. --- pybindgen/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybindgen/settings.py b/pybindgen/settings.py index 3de88e0..60fee41 100644 --- a/pybindgen/settings.py +++ b/pybindgen/settings.py @@ -56,7 +56,7 @@ wrapper registries. A wrapper registry ensures that at most one python wrapper exists for each C/C++ object. """ -deprecated_virtuals = None +deprecated_virtuals = False """ Prior to PyBindGen version 0.14, the code generated to handle C++ virtual methods required Python user code to define a _foo method in