diff options
author | Georg Brandl <georg@python.org> | 2006-01-20 09:35:04 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-01-20 09:35:04 (GMT) |
commit | 3b3e481e0cdcd57da492d71a46e050508e637b37 (patch) | |
tree | 0a0095066cdb1834ffd747cba20a1056dade5e66 | |
parent | 90394a56282159e9aa53322df8a5647f008d1d42 (diff) | |
download | cpython-3b3e481e0cdcd57da492d71a46e050508e637b37.zip cpython-3b3e481e0cdcd57da492d71a46e050508e637b37.tar.gz cpython-3b3e481e0cdcd57da492d71a46e050508e637b37.tar.bz2 |
Bug #1402224: Add warning to dl docs about crashes.
-rw-r--r-- | Doc/lib/libdl.tex | 4 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 6 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 @@ -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. |