Browse Source

[2853] Add a note that Py_BuildValue() will not throw

Mukund Sivaraman 12 years ago
parent
commit
922c6e4ecb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lib/python/isc/datasrc/configurableclientlist_python.cc

+ 1 - 0
src/lib/python/isc/datasrc/configurableclientlist_python.cc

@@ -219,6 +219,7 @@ ConfigurableClientList_getStatus(PyObject* po_self, PyObject*) {
                 segment_type = Py_None;
             }
 
+            // Py_BuildValue() is a C function and will not throw.
             PyObject* tup = Py_BuildValue("(sOI)",
                                           status[i].getName().c_str(),
                                           segment_type,