From a8797ed2aec67bfe87fa622cbad94ec49e9523be Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Sun, 18 Mar 2012 22:01:23 +0000 Subject: [PATCH] pybindgen.settings.deprecated_virtuals default value changed to False --- pybindgen/settings.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pybindgen/settings.py b/pybindgen/settings.py index 45bb4f6..17acd18 100644 --- a/pybindgen/settings.py +++ b/pybindgen/settings.py @@ -79,11 +79,10 @@ def _get_deprecated_virtuals(): if deprecated_virtuals is None: import warnings warnings.warn("The option pybindgen.settings.deprecated_virtuals has not been set." - " I am going to assume the value of True, to preserve backward" - " compatibility, but the default value will change in the future," - " and the option will eventually disappear.", + " I am going to assume the value of False, change it to True if it breaks your APIs." + " The option will eventually disappear (the deprecated behaviour will eventually disappear).", DeprecationWarning) - return True + return False return deprecated_virtuals