Author serhiy.storchaka
Recipients docs@python, rhettinger, ronaldoussoren, serhiy.storchaka, vstinner
Date 2018-12-11.13:27:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
C API functions like PyDict_GetItem() and PyObject_HasAttr() suppresses all errors that may occur, including MemoryError and KeyboardInterrupt. They can return incorrect result when the memory is exhausted or the user presses Ctrl-C. The proposed PR documents such functions and suggests the C API which do not swallow unrelated exceptions.

Previous attempt to document this (for PyDict_GetItem() only) was in issue20615.
Date User Action Args
2018-12-11 13:27:28serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, ronaldoussoren, vstinner, docs@python
2018-12-11 13:27:28serhiy.storchakasetmessageid: <>
2018-12-11 13:27:28serhiy.storchakalinkissue35461 messages
2018-12-11 13:27:28serhiy.storchakacreate