summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2020-06-04 23:40:24 (GMT)
committerGitHub <noreply@github.com>2020-06-04 23:40:24 (GMT)
commit052d3fc0907be253cfd64b2c737a0b0aca586011 (patch)
tree3d50f8cb5dbbdab51518e443c456b24f7172aa0d /Misc/NEWS.d
parent3744ed2c9c0b3905947602fc375de49533790cb9 (diff)
downloadcpython-052d3fc0907be253cfd64b2c737a0b0aca586011.zip
cpython-052d3fc0907be253cfd64b2c737a0b0aca586011.tar.gz
cpython-052d3fc0907be253cfd64b2c737a0b0aca586011.tar.bz2
bpo-40807: Show warnings once from codeop._maybe_compile (#20486)
* bpo-40807: Show warnings once from codeop._maybe_compile * Move catch_warnings * news Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2020-06-04-16-25-15.bpo-40807.yYyLWx.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-06-04-16-25-15.bpo-40807.yYyLWx.rst b/Misc/NEWS.d/next/Library/2020-06-04-16-25-15.bpo-40807.yYyLWx.rst
new file mode 100644
index 0000000..532b809
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-06-04-16-25-15.bpo-40807.yYyLWx.rst
@@ -0,0 +1,2 @@
+Stop codeop._maybe_compile, used by code.InteractiveInterpreter (and IDLE).
+from from emitting each warning three times.