[Python-checkins] cpython (3.3): Closes #13951: Add a "faulthandler" reference in the ctypes docs talking about
georg.brandl
python-checkins at python.org
Sun Oct 6 10:50:23 CEST 2013
http://hg.python.org/cpython/rev/1e163fdf8cf3
changeset: 86031:1e163fdf8cf3
branch: 3.3
parent: 86029:ff5fb419967f
user: Georg Brandl <georg at python.org>
date: Sun Oct 06 10:51:01 2013 +0200
summary:
Closes #13951: Add a "faulthandler" reference in the ctypes docs talking about crashes.
files:
Doc/library/ctypes.rst | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -198,7 +198,9 @@
>>>
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).
``None``, integers, bytes objects and (unicode) strings are the only native
Python objects that can directly be used as parameters in these function calls.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list