summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2003-02-11 14:19:56 (GMT)
committerMichael W. Hudson <mwh@python.net>2003-02-11 14:19:56 (GMT)
commit3e245d800dd5c118d13c77f3a3022d358a979a46 (patch)
tree36f0186ecf6861541b8a588d9f2eb0c69f537eae
parent3f50cdc05e5254e1ce012ceca449387d50d28bc5 (diff)
downloadcpython-3e245d800dd5c118d13c77f3a3022d358a979a46.zip
cpython-3e245d800dd5c118d13c77f3a3022d358a979a46.tar.gz
cpython-3e245d800dd5c118d13c77f3a3022d358a979a46.tar.bz2
Add item pertaining to
[ 680429 ] __module__ broken for extension classes
-rw-r--r--Doc/whatsnew/whatsnew23.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex
index 446ce43..e79f6c4 100644
--- a/Doc/whatsnew/whatsnew23.tex
+++ b/Doc/whatsnew/whatsnew23.tex
@@ -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}