summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-27 11:11:55 (GMT)
committerGitHub <noreply@github.com>2017-11-27 11:11:55 (GMT)
commit21c7730761e2a768e33b89b063a095d007dcfd2c (patch)
tree1d96b9b8c87ed00337e15d2a8c1f287fac4ffcb1 /Misc
parentc172fc5031a4035986bef0b2fcef906706d7abf3 (diff)
downloadcpython-21c7730761e2a768e33b89b063a095d007dcfd2c.zip
cpython-21c7730761e2a768e33b89b063a095d007dcfd2c.tar.gz
cpython-21c7730761e2a768e33b89b063a095d007dcfd2c.tar.bz2
bpo-32089: Use default action for ResourceWarning (#4584)
In development and debug mode, use the "default" action, rather than the "always" action, for ResourceWarning in the default warnings filters.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-11-27-11-29-34.bpo-32089.6ydDYv.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-11-27-11-29-34.bpo-32089.6ydDYv.rst b/Misc/NEWS.d/next/Library/2017-11-27-11-29-34.bpo-32089.6ydDYv.rst
new file mode 100644
index 0000000..02d8753
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-11-27-11-29-34.bpo-32089.6ydDYv.rst
@@ -0,0 +1,3 @@
+warnings: In development (-X dev) and debug mode (pydebug build), use the
+"default" action for ResourceWarning, rather than the "always" action, in
+the default warnings filters.