mirror of
https://github.com/python/cpython.git
synced 2024-12-14 04:17:19 +08:00
Bug #1402224: Add warning to dl docs about crashes.
This commit is contained in:
parent
a3a93ae7c8
commit
8cb307728e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user