]> granicus.if.org Git - python/commitdiff
Add item pertaining to
authorMichael W. Hudson <mwh@python.net>
Tue, 11 Feb 2003 14:19:56 +0000 (14:19 +0000)
committerMichael W. Hudson <mwh@python.net>
Tue, 11 Feb 2003 14:19:56 +0000 (14:19 +0000)
[ 680429 ] __module__ broken for extension classes

Doc/whatsnew/whatsnew23.tex

index 446ce43020801da17a0978a8d48eacc25eac65bf..e79f6c430e8e4e224a12188ba2b101cb950bd0d5 100644 (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}