diff --git a/CHANGES.current b/CHANGES.current index d40ed79d5cb..90230884711 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,10 @@ Version 1.3.41 (in progress) ============================ +2010-02-27: wsfulton + [Python] Remove -dirvtable from the optimizations included by -O as it this option + currently leads to memory leaks as reported by Johan Blake. + 2010-02-13: wsfulton [Ruby] A few fixes for compiling under ruby-1.9.x including patch from 'Nibble'. diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index bc76f17d43f..3c7e3de7ab7 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -143,8 +143,8 @@ static const char *usage3 = (char *) "\ -proxydel - Generate a __del__ method even though it is now redundant (default) \n\ -safecstrings - Use safer (but slower) C string mapping, generating copies from Python -> C/C++\n\ -threads - Add thread support for all the interface\n\ - -O - Enable all the optimization options: \n\ - -modern -fastdispatch -dirvtable -nosafecstrings -fvirtual -noproxydel \n\ + -O - Enable the following optimization options: \n\ + -modern -fastdispatch -nosafecstrings -fvirtual -noproxydel \n\ -fastproxy -fastinit -fastunpack -fastquery -modernargs -nobuildnone \n\ -py3 - Generate code with Python 3 specific features:\n\ Function annotation \n\ @@ -405,7 +405,6 @@ class PYTHON:public Language { } else if (strcmp(argv[i], "-O") == 0) { classic = 0; modern = 1; - dirvtable = 1; safecstrings = 0; buildnone = 0; nobuildnone = 1;