diff options
author | Guido van Rossum <guido@python.org> | 2003-04-16 21:13:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-04-16 21:13:23 (GMT) |
commit | c1f6e8cbc1d60c5fe00121c67bfc581301e7ce50 (patch) | |
tree | e508b3b6a8621b3330035178cd825a84e7f753c7 /Misc | |
parent | 6f29ff319b83c4e5cec1ddb06075d7a9da377a19 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |