Message331620
| 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 | <1544534848.15.0.788709270274.issue35461@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-12-11 13:27:28 | serhiy.storchaka | set | recipients: + serhiy.storchaka, rhettinger, ronaldoussoren, vstinner, docs@python |
| 2018-12-11 13:27:28 | serhiy.storchaka | set | messageid: <1544534848.15.0.788709270274.issue35461@psf.upfronthosting.co.za> |
| 2018-12-11 13:27:28 | serhiy.storchaka | link | issue35461 messages |
| 2018-12-11 13:27:28 | serhiy.storchaka | create | |