Add item pertaining to

[ 680429 ] __module__ broken for extension classes
This commit is contained in:
Michael W. Hudson 2003-02-11 14:19:56 +00:00
parent 3f50cdc05e
commit 3e245d800d
1 changed files with 9 additions and 0 deletions

View File

@ -1973,6 +1973,15 @@ structure.
removing any dependence on a system version or local installation of
Expat.
\item If you dynamically allocate type objects in your extension, you
should be aware of a change in the rules rules relating to the
\member{__module__} and \member{__name__} attributes. In summary,
you will want to ensure the type's dictionary contains a
\code{'__module__'} key; making the module name the part of the type
name leading up to the final period will no longer have the desired
effect. For more detail, read the API reference documentation or the
source.
\end{itemize}