-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed as not planned
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
Description
Remove cgi.log, deprecated in 3.10 and slated for removal in 3.12:
- https://docs.python.org/3.10/whatsnew/3.10.html#deprecated
- cgi uses the locale encoding for log files #85311
- bpo-41139: Deprecate
cgi.log(). #25625
Use logging instead.
Searching the top 5k PyPI projects (downloaded 2022-11-06), the only result is the pylint deprecation checker:
$ python ~/github/misc/cpython/search_pypi_top.py . "cgi\.log" -q
./pylint-2.15.5.tar.gz: pylint-2.15.5/pylint/checkers/stdlib.py: "cgi.log",
Time: 0:00:16.167385
Found 1 matching lines in 1 projects$ python ~/github/misc/cpython/search_pypi_top.py . "from cgi import.*log" -q
Time: 0:00:15.740342
Found 0 matching lines in 0 projectsLinked PRs
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory