[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault
Roundup Robot added the comment: New changeset 1e163fdf8cf3 by Georg Brandl in branch '3.3': Closes #13951: Add a faulthandler reference in the ctypes docs talking about crashes. http://hg.python.org/cpython/rev/1e163fdf8cf3 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13951 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault
Westley MartÃnez added the comment: Can we have this committed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13951 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault
Georg Brandl added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13951 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault
Changes by Ramchandra Apte maniandra...@gmail.com: -- title: Seg Fault in .so called by ctypes causes the interpreter to Seg Fault - Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13951 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault
Georg Brandl added the comment: The reference to faulthandler is a good addition. The other added sentence reads repetitive and can be left out. Proposal: There are, however, enough ways to crash Python with :mod:`ctypes`, so you should be careful anyway. The :mod:`faulthandler` module can be helpful in debugging crashes, e.g. from segmentation faults produced by erroneous C library calls. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13951 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13951] Document that Seg Fault in .so called by ctypes causes the interpreter to Seg Fault
Meador Inge added the comment: Georg's proposal seems reasonable to me sans one very minor nit. I think the e.g. bit is better off parenthesized: There are, however, enough ways to crash Python with :mod:`ctypes`, so you -should be careful anyway. +should be careful anyway. The :mod:`faulthandler` module can be helpful in +debugging crashes (e.g. from segmentation faults produced by erroneous C +library calls). If there are no objections, then I will go ahead and commit this version. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13951 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com