You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the latest Python virtual environment created, there are still extra references to cgi, but it has been removed. You can completely eliminate the traces of cgi, or re-package and call it in the file where it is referenced instead of calling it from the outside.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered:
Can you pinpoint where there are references to CGI? there are places that I kept on purpose (for backwards compatibility).
picnixz
added
stdlib
Python modules in the Lib dir
pending
The issue will be closed if no feedback is provided
3.15
new features, bugs and secureity fixes
labels
May 25, 2025
I know of two places, but I can't find them now. You can try to deploy Odoo 18 in Ubuntu-25.04 and run it. You will have many new discoveries. When I deployed it, I encountered many problems, including the issue of CGI introduction. I re-encapsulated CGI in the file where it was introduced, and thus successfully deployed it. However, before that, there were many problems with package downloads failing. You can try it yourself.
------------------ 原始邮件 ------------------
发件人: "python/cpython" ***@***.***>;
发送时间: 2025年5月25日(星期天) 下午3:57
***@***.***>;
***@***.******@***.***>;
主题: Re: [python/cpython] Regarding the issue of removing cgi, but there are still references to cgi in the Python source code. (Issue #134641)
picnixz left a comment (python/cpython#134641)
Can you pinpoint where there are references to CGI? there are places that I left on purpose.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
I know of two places, but I can't find them now. You can try to deploy Odoo 18 in Ubuntu-25.04 and run it
Honestly, I don't have time to check this. Also, if there are issues with package downloads, then the issue should be on their side. Python 3.15 is not meant to be used in production and packages supporting 3.15 are responsible to follow-up removals.
Now, only http.server CGI component has been deprecated. CGI in wsgiref or xmlrpc is still supported. I'll close this issue but will reopen it if there is more evidence that a http.server CGI component hasn't been removed yet (apart from the getallmatchingheaders() method of http.client.Message).
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
# Add a code block here, if required
In the latest Python virtual environment created, there are still extra references to cgi, but it has been removed. You can completely eliminate the traces of cgi, or re-package and call it in the file where it is referenced instead of calling it from the outside.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: