[
https://issues.apache.org/jira/browse/MINIFICPP-2308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Szasz updated MINIFICPP-2308:
------------------------------------
Description: We could change it to have two overloads: const char* and
maybe std::string. Alternatively, change it to use {{PyDict_GetItem}} (was: We
could change it to have two overloads: const char* and maybe std::string.)
> python extension Dict: key type is std::string_view, but null-terminated
> string is required. The interface should be changed to reflect that.
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MINIFICPP-2308
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2308
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Marton Szasz
> Priority: Major
>
> We could change it to have two overloads: const char* and maybe std::string.
> Alternatively, change it to use {{PyDict_GetItem}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)