Describe the incorrect behavior you saw
The currently used package "cgi" will be removed in Python 3.13.
Describe how to cause this behavior
> python -W always
Python 3.11.0 (main, Feb 3 2023, 12:28:31) [MSC v.1929 64 bit (AMD64)] on win32
>>> from twisted.web import http
...\site-packages\twisted\web\http.py:103: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
import cgi
Describe the correct behavior you'd like to see
No warning.
Testing environment
- Windows: 11
- Python: 3.11.0
- Twisted: 22.10.0
Describe the incorrect behavior you saw
The currently used package "cgi" will be removed in Python 3.13.
Describe how to cause this behavior
Describe the correct behavior you'd like to see
No warning.
Testing environment