Commit 6de753e4 authored by Georg Brandl's avatar Georg Brandl

Closes #13951: Add a "faulthandler" reference in the ctypes docs talking about crashes.

parent 5c82b1dd
...@@ -198,7 +198,9 @@ argument values:: ...@@ -198,7 +198,9 @@ argument values::
>>> >>>
There are, however, enough ways to crash Python with :mod:`ctypes`, so you 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 ``None``, integers, bytes objects and (unicode) strings are the only native
Python objects that can directly be used as parameters in these function calls. Python objects that can directly be used as parameters in these function calls.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment