PyDict
should expose a wrapper over PyDict_GetItemWithError
#565
Labels
Milestone
PyDict
should expose a wrapper over PyDict_GetItemWithError
#565
Currently
PyDict::get_item
wrapsPyDict_GetItem
and returns anOption::None
when the key is missing or an exception occurs. It makes code incapable to differentiate between the two scenarios and code like this likely incorrect:The text was updated successfully, but these errors were encountered: