[issue35461] Document C API functions which swallow exceptions

2018-12-20 Thread Ned Deily
Ned Deily added the comment: New changeset ff740db42326082fac7d415ae9aff148628a83ed by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-35461: Document C API functions which suppress exceptions. (GH-9) (GH-11210) https://github.com/python/cpython/commit/ff740db42326082fac7d415ae9aff

[issue35461] Document C API functions which swallow exceptions

2018-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are too much differences in the C API and the documentation between 3.x and 2.7, so backporting to 2.7 is not practical. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 __

[issue35461] Document C API functions which swallow exceptions

2018-12-18 Thread miss-islington
miss-islington added the comment: New changeset f265afec1c2a5acb8cb9c9ddb6cd45f7465c6eb5 by Miss Islington (bot) in branch '3.7': bpo-35461: Document C API functions which suppress exceptions. (GH-9) https://github.com/python/cpython/commit/f265afec1c2a5acb8cb9c9ddb6cd45f7465c6eb5 -

[issue35461] Document C API functions which swallow exceptions

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10447 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35461] Document C API functions which swallow exceptions

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10446 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35461] Document C API functions which swallow exceptions

2018-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b by Serhiy Storchaka in branch 'master': bpo-35461: Document C API functions which suppress exceptions. (GH-9) https://github.com/python/cpython/commit/3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b

[issue35461] Document C API functions which swallow exceptions

2018-12-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35461] Document C API functions which swallow exceptions

2018-12-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10349 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue35461] Document C API functions which swallow exceptions

2018-12-11 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : 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 docu