summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorJack Hindmarch <1750152+jackh-ncl@users.noreply.github.com>2022-10-19 10:38:59 (GMT)
committerGitHub <noreply@github.com>2022-10-19 10:38:59 (GMT)
commitb6e59d76c0e1214ca2c927be35f165ecd1f763df (patch)
tree18d1b378490ca962fc6e031d767d36b23022b2ff /Misc/NEWS.d
parenta3be8743348464364db9d513b22bcdd39a2c5fb5 (diff)
downloadcpython-b6e59d76c0e1214ca2c927be35f165ecd1f763df.zip
cpython-b6e59d76c0e1214ca2c927be35f165ecd1f763df.tar.gz
cpython-b6e59d76c0e1214ca2c927be35f165ecd1f763df.tar.bz2
gh-92886: Replace assertion statements in `handlers.BaseHandler` to support running with optimizations (`-O`) (GH-93231)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2022-05-25-22-09-38.gh-issue-92886.ylwDSc.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-05-25-22-09-38.gh-issue-92886.ylwDSc.rst b/Misc/NEWS.d/next/Library/2022-05-25-22-09-38.gh-issue-92886.ylwDSc.rst
new file mode 100644
index 0000000..7854381
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-05-25-22-09-38.gh-issue-92886.ylwDSc.rst
@@ -0,0 +1 @@
+Replace ``assert`` statements with ``raise AssertionError()`` in :class:`~wsgiref.BaseHandler` so that the tested behaviour is maintained running with optimizations ``(-O)``.