summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2017-04-20 07:31:17 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-04-20 07:31:17 (GMT)
commitb4dc6af7a7862a8996cffed30d39d6add5ee58a3 (patch)
treefa5fe86f4f1aca739168d41dd874ec866dff8eab /Misc
parent58f3c9dc8f5626abe09ac9738c34f6ba99ce2972 (diff)
downloadcpython-b4dc6af7a7862a8996cffed30d39d6add5ee58a3.zip
cpython-b4dc6af7a7862a8996cffed30d39d6add5ee58a3.tar.gz
cpython-b4dc6af7a7862a8996cffed30d39d6add5ee58a3.tar.bz2
bpo-12414: Update code_sizeof() to take in account co_extra memory. (#1168)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 8c44397..d4f20c5 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1063,6 +1063,7 @@ R. David Murray
Matti Mäki
Jörg Müller
Kaushik N
+Dong-hee Na
Dale Nagata
John Nagle
Takahiro Nakayama
diff --git a/Misc/NEWS b/Misc/NEWS
index 3ec02e0..7e09eff 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ What's New in Python 3.7.0 alpha 1?
Core and Builtins
-----------------
+- bpo-12414: sys.getsizeof() on a code object now returns the sizes
+ which includes the code struct and sizes of objects which it references.
+ Patch by Dong-hee Na.
+
- bpo-29839: len() now raises ValueError rather than OverflowError if
__len__() returned a large negative integer.