mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-47061: deprecate cgi and cgitb (GH-32410)
Part of PEP 594.
This commit is contained in:
parent
1c8b3b5d66
commit
cd29bd13ef
8 changed files with 28 additions and 7 deletions
|
@ -31,8 +31,12 @@ import tempfile
|
|||
import time
|
||||
import tokenize
|
||||
import traceback
|
||||
import warnings
|
||||
from html import escape as html_escape
|
||||
|
||||
warnings._deprecated(__name__, remove=(3, 13))
|
||||
|
||||
|
||||
def reset():
|
||||
"""Return a string that resets the CGI and browser to a known state."""
|
||||
return '''<!--: spam
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue