]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bug #1402224: Add warning to dl docs about crashes.
authorGeorg Brandl <georg@python.org>
Fri, 20 Jan 2006 09:35:04 +0000 (09:35 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 20 Jan 2006 09:35:04 +0000 (09:35 +0000)
Doc/lib/libdl.tex
Misc/NEWS

index 358f0836a09b51b0a2c79903d547b6def7850853..3da4db27525f849f7537a3fc1cb3f52ba452cda9 100644 (file)
@@ -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
index 1b456424d8f76c728cb478382ff86c2f20a5372d..8382e86c58229aa0a4d6202b6c189c5abef03572 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -346,6 +346,8 @@ Build
 Documentation
 -------------
 
+- Bug #1402224: Add warning to dl docs about crashes.
+
 - Bug #1396471: Document that Windows' ftell() can return invalid
   values for text files with UNIX-style line endings.