diff --git a/CHANGES.current b/CHANGES.current index 3379b5af6..298efabf6 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -4,6 +4,8 @@ See the RELEASENOTES file for a summary of changes in each release. Version 2.0.5 (in progress) =========================== +2011-08-30: szager + [python] Bug 3400486, fix error signalling for built-in constructors. 2011-08-26: wsfulton [Go] Fix file/line number display for "gotype" when using typemap debugging options diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 619e99e86..34f7248ca 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -2545,7 +2545,7 @@ public: } if (builtin_ctor) - Append(f->code, " return resultobj == Py_None ? 1 : 0;\n"); + Append(f->code, " return resultobj == Py_None ? -1 : 0;\n"); else Append(f->code, " return resultobj;\n");