summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2013-08-31 17:18:55 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2013-08-31 17:18:55 (GMT)
commitfb13721b1b48b814dd8efbececfbb1e6c52c1c5d (patch)
tree05bf8cb54ec4ae89548f481b074fea3ab4267bc5 /Misc
parent08548f4a750b6f378c58decdcaf2ac6778103fe1 (diff)
downloadcpython-fb13721b1b48b814dd8efbececfbb1e6c52c1c5d.zip
cpython-fb13721b1b48b814dd8efbececfbb1e6c52c1c5d.tar.gz
cpython-fb13721b1b48b814dd8efbececfbb1e6c52c1c5d.tar.bz2
Close #18780: %-formatting now prints value for int subclasses with %d, %i, and %u codes.
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 7258ce1..e655fe5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -48,6 +48,9 @@ Core and Builtins
- Issue #17934: Add a clear() method to frame objects, to help clean up
expensive details (local variables) and break reference cycles.
+- Issue #18780: %-formatting codes %d, %i, and %u now treat int-subclasses
+ as int (displays value of int-subclass instead of str(int-subclass) ).
+
Library
-------