[Python-checkins] cpython (merge 3.5 -> default): Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
robert.collins
python-checkins at python.org
Mon Jul 27 00:47:34 CEST 2015
https://hg.python.org/cpython/rev/d8d148624004
changeset: 97082:d8d148624004
parent: 97073:7bf3d91f8d6c
parent: 97081:cb0c56f87a47
user: Robert Collins <rbtcollins at hp.com>
date: Mon Jul 27 10:46:42 2015 +1200
summary:
Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
files:
.hgtags | 1 +
Lib/wsgiref/validate.py | 2 +-
Misc/ACKS | 1 +
Misc/NEWS | 6 ++++--
4 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/.hgtags b/.hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -151,3 +151,4 @@
071fefbb5e3db770c6c19fba9994699f121b1cea v3.5.0b1
7a088af5615bf04024e9912068f4bd8f43ed3917 v3.5.0b2
0035fcd9b9243ae52c2e830204fd9c1f7d528534 v3.5.0b3
+c0d64105463581f85d0e368e8d6e59b7fd8f12b1 v3.5.0b4
diff --git a/Lib/wsgiref/validate.py b/Lib/wsgiref/validate.py
--- a/Lib/wsgiref/validate.py
+++ b/Lib/wsgiref/validate.py
@@ -337,7 +337,7 @@
# @@: these need filling out:
if environ['REQUEST_METHOD'] not in (
- 'GET', 'HEAD', 'POST', 'OPTIONS','PUT','DELETE','TRACE'):
+ 'GET', 'HEAD', 'POST', 'OPTIONS', 'PATCH', 'PUT', 'DELETE', 'TRACE'):
warnings.warn(
"Unknown REQUEST_METHOD: %r" % environ['REQUEST_METHOD'],
WSGIWarning)
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1242,6 +1242,7 @@
Dave Sawyer
Ben Sayer
sbt
+Luca Sbardella
Marco Scataglini
Andrew Schaaf
Michael Scharf
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,8 @@
Library
-------
+- Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
+
- Issue #13938: 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
- Issue #2091: open() accepted a 'U' mode string containing '+', but 'U' can
@@ -75,8 +77,8 @@
- Issue #24620: Random.setstate() now validates the value of state last element.
-- Issue #22485: Fixed an issue that caused `inspect.getsource` to return incorrect
- results on nested functions.
+- Issue #22485: Fixed an issue that caused `inspect.getsource` to return
+ incorrect results on nested functions.
- Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list