summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-03-14 07:27:01 (GMT)
committerGitHub <noreply@github.com>2017-03-14 07:27:01 (GMT)
commitfaa2cc63e45bc7d7ffab84bebe5a9f4fe065bd96 (patch)
tree4f1e0ff182e1dae2da17be56c69e21f730863f52 /Misc
parent388e2568fc919a177df2d2949b575c553aea84ac (diff)
downloadcpython-faa2cc63e45bc7d7ffab84bebe5a9f4fe065bd96.zip
cpython-faa2cc63e45bc7d7ffab84bebe5a9f4fe065bd96.tar.gz
cpython-faa2cc63e45bc7d7ffab84bebe5a9f4fe065bd96.tar.bz2
bpo-28856: Let %b format for bytes support objects that follow the buffer protocol (GH-664)
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 25a24f5..284a203 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ Core and Builtins
- bpo-29600: Fix wrapping coroutine return values in StopIteration.
+- bpo-28856: Fix an oversight that %b format for bytes should support objects
+ follow the buffer protocol.
+
- bpo-29723: The ``sys.path[0]`` initialization change for bpo-29139 caused a
regression by revealing an inconsistency in how sys.path is initialized when
executing ``__main__`` from a zipfile, directory, or other import location.