summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-04-16 21:13:23 (GMT)
committerGuido van Rossum <guido@python.org>2003-04-16 21:13:23 (GMT)
commitc1f6e8cbc1d60c5fe00121c67bfc581301e7ce50 (patch)
treee508b3b6a8621b3330035178cd825a84e7f753c7 /Misc
parent6f29ff319b83c4e5cec1ddb06075d7a9da377a19 (diff)
downloadcpython-c1f6e8cbc1d60c5fe00121c67bfc581301e7ce50.zip
cpython-c1f6e8cbc1d60c5fe00121c67bfc581301e7ce50.tar.gz
cpython-c1f6e8cbc1d60c5fe00121c67bfc581301e7ce50.tar.bz2
- The repr() of a weakref object now shows the __name__ attribute of
the referenced object, if it has one. Also use %p to format pointers consistently, and use <weakproxy ...> in proxy_repr(), to match the type name.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1e3800b..5cc7ce8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.3 beta 1?
Core and builtins
-----------------
+- The repr() of a weakref object now shows the __name__ attribute of
+ the referenced object, if it has one.
+
- super() no longer ignores data descriptors, except __class__. See
the thread started at
http://mail.python.org/pipermail/python-dev/2003-April/034338.html