# HG changeset patch # User Chris Cannam # Date 1416994370 0 # Node ID 392878bea53daca1835134afd008ba8ee0bdbdf1 # Parent 9dc444c79aa5320130debafc63828db90cbe86dd PyType_Ready call: fill type dictionary (without this, we crash on e.g. tab completion in ipython) diff -r 9dc444c79aa5 -r 392878bea53d vampyhost.cpp --- a/vampyhost.cpp Tue Nov 25 17:39:27 2014 +0000 +++ b/vampyhost.cpp Wed Nov 26 09:32:50 2014 +0000 @@ -630,6 +630,9 @@ if (PyType_Ready(&RealTime_Type) < 0) return; + if (PyType_Ready(&Plugin_Type) < 0) + return; + /* Create the module and add the functions */ m = Py_InitModule3("vampyhost", vampyhost_methods, module_doc); if (!m) return;