summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/whatsnew23.tex
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-11-26 14:48:23 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-11-26 14:48:23 (GMT)
commit96bc3b4d741091d66e390705ae99df2f06fde606 (patch)
treec95a4ae30e7119b7710dd54d089ed0b38ea8c468 /Doc/whatsnew/whatsnew23.tex
parent98bbc49c54c4bc7de33f1f23fc364dbb8e3fe034 (diff)
downloadcpython-96bc3b4d741091d66e390705ae99df2f06fde606.zip
cpython-96bc3b4d741091d66e390705ae99df2f06fde606.tar.gz
cpython-96bc3b4d741091d66e390705ae99df2f06fde606.tar.bz2
This is not part of my patch
[ 635933 ] make some type attrs writable but should have been! News about the above.
Diffstat (limited to 'Doc/whatsnew/whatsnew23.tex')
-rw-r--r--Doc/whatsnew/whatsnew23.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex
index b1e9713..c3b8e8f 100644
--- a/Doc/whatsnew/whatsnew23.tex
+++ b/Doc/whatsnew/whatsnew23.tex
@@ -896,6 +896,13 @@ In 2.3, you get this:
<type '_socket.socket'>
\end{verbatim}
+\item One of the noted incompatibilities between old- and new-style
+ classes has been removed: you can now assign to the
+ \member{__name__} and \member{__bases__} attributes of new-style
+ classes. There are some restrictions on what can be assigned to
+ \member{__bases__} along the lines of those relating to assigning to
+ an instance's \member{__class__} attribute.
+
\end{itemize}