diff options
author | Michael W. Hudson <mwh@python.net> | 2003-02-11 14:19:56 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2003-02-11 14:19:56 (GMT) |
commit | 3e245d800dd5c118d13c77f3a3022d358a979a46 (patch) | |
tree | 36f0186ecf6861541b8a588d9f2eb0c69f537eae | |
parent | 3f50cdc05e5254e1ce012ceca449387d50d28bc5 (diff) | |
download | cpython-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.tex | 9 |
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} |