yuja added a comment.
Queued, thanks. > if (name == NULL) > return -1; > > > - hashlib = PyImport_Import(name); + hashlib = PyImport_ImportModule("hashlib"); Py_DECREF(name); Nit: `name` is no longer used. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3587 To: durin42, #hg-reviewers Cc: yuja, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel