Queued, thanks. > if (name == NULL) > return -1; > > - hashlib = PyImport_Import(name); > + hashlib = PyImport_ImportModule("hashlib"); > Py_DECREF(name); Nit: `name` is no longer used.