Commit dfd3ca11 authored by Fred Drake's avatar Fred Drake

Added paragraph about potential re-initialization of extension

modules; responding to suggestion by Robin Boerdijk
<Robin.Boerdijk@nl.origin-it.com>.
parent cab4af88
...@@ -406,6 +406,13 @@ that it creates (which is unused here). It aborts with a fatal error ...@@ -406,6 +406,13 @@ that it creates (which is unused here). It aborts with a fatal error
if the module could not be initialized satisfactorily, so the caller if the module could not be initialized satisfactorily, so the caller
doesn't need to check for errors. doesn't need to check for errors.
\strong{Note:} Removing entries from \code{sys.modules} or importing
compiled modules into multiple interpreters within a process (or
following a \cfunction{fork()} without an intervening
\cfunction{exec()}) can create problems for some extension modules.
Extension module authors should exercise caution when initializing
internal data structures.
\section{Compilation and Linkage \section{Compilation and Linkage
\label{compilation}} \label{compilation}}
......
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