[Python-checkins] r42104 - in python/trunk: Doc/lib/libdl.tex Misc/NEWS

georg.brandl python-checkins at python.org
Fri Jan 20 10:34:32 CET 2006


Author: georg.brandl
Date: Fri Jan 20 10:34:29 2006
New Revision: 42104

Modified:
   python/trunk/Doc/lib/libdl.tex
   python/trunk/Misc/NEWS
Log:
Bug #1402224: Add warning to dl docs about crashes.


Modified: python/trunk/Doc/lib/libdl.tex
==============================================================================
--- python/trunk/Doc/lib/libdl.tex	(original)
+++ python/trunk/Doc/lib/libdl.tex	Fri Jan 20 10:34:29 2006
@@ -10,6 +10,10 @@
 \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

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Fri Jan 20 10:34:29 2006
@@ -727,6 +727,8 @@
 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.
 


More information about the Python-checkins mailing list