Commit 8cb30772 authored by Georg Brandl's avatar Georg Brandl

Bug #1402224: Add warning to dl docs about crashes.

parent a3a93ae7
...@@ -10,6 +10,10 @@ The \module{dl} module defines an interface to the ...@@ -10,6 +10,10 @@ The \module{dl} module defines an interface to the
\UNIX{} platforms for handling dynamically linked libraries. It allows \UNIX{} platforms for handling dynamically linked libraries. It allows
the program to call arbitrary functions in such a library. 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 \note{This module will not work unless
\code{sizeof(int) == sizeof(long) == sizeof(char *)} \code{sizeof(int) == sizeof(long) == sizeof(char *)}
If this is not the case, \exception{SystemError} will be raised on If this is not the case, \exception{SystemError} will be raised on
......
...@@ -727,6 +727,8 @@ Tests ...@@ -727,6 +727,8 @@ Tests
Documentation Documentation
------------- -------------
- Bug #1402224: Add warning to dl docs about crashes.
- Bug #1396471: Document that Windows' ftell() can return invalid - Bug #1396471: Document that Windows' ftell() can return invalid
values for text files with UNIX-style line endings. values for text files with UNIX-style line endings.
......
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