Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd).
diff --git a/Lib/cgi.py b/Lib/cgi.py
index b3e32f1..e964f0c 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -1012,7 +1012,7 @@
def escape(s, quote=None):
"""Deprecated API."""
warn("cgi.escape is deprecated, use html.escape instead",
- PendingDeprecationWarning, stacklevel=2)
+ DeprecationWarning, stacklevel=2)
s = s.replace("&", "&") # Must be done first!
s = s.replace("<", "<")
s = s.replace(">", ">")