[capi-sig] Strange Python behaviour after C-Function