summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-01-20 09:34:29 (GMT)
committerGeorg Brandl <georg@python.org>2006-01-20 09:34:29 (GMT)
commit8cb307728eb8e7a9712500e350cd10b1f68256c3 (patch)
tree932c66656e79a25f081f91c3269b393c25cb1ead /Doc/lib
parenta3a93ae7c82542644c558a42141651cd74bfd81f (diff)
downloadcpython-8cb307728eb8e7a9712500e350cd10b1f68256c3.zip
cpython-8cb307728eb8e7a9712500e350cd10b1f68256c3.tar.gz
cpython-8cb307728eb8e7a9712500e350cd10b1f68256c3.tar.bz2
Bug #1402224: Add warning to dl docs about crashes.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libdl.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libdl.tex b/Doc/lib/libdl.tex
index 358f083..3da4db2 100644
--- a/Doc/lib/libdl.tex
+++ b/Doc/lib/libdl.tex
@@ -10,6 +10,10 @@ The \module{dl} module defines an interface to the
\UNIX{} platforms for handling dynamically linked libraries. It allows
the program to call arbitrary functions in such a library.
+\warning{The \module{dl} module bypasses the Python type system and
+error handling. If used incorrectly it may cause segmentation faults,
+crashes or other incorrect behaviour.}
+
\note{This module will not work unless
\code{sizeof(int) == sizeof(long) == sizeof(char *)}
If this is not the case, \exception{SystemError} will be raised on