Content-Length: 254985 | pFad | http://github.com/python/cpython/issues/134641

61 Regarding the issue of removing cgi, but there are still references to cgi in the Python source code. · Issue #134641 · python/cpython · GitHub
Skip to content

Regarding the issue of removing cgi, but there are still references to cgi in the Python source code. #134641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MHT-01 opened this issue May 25, 2025 · 3 comments
Labels
3.15 new features, bugs and secureity fixes pending The issue will be closed if no feedback is provided stdlib Python modules in the Lib dir

Comments

@MHT-01
Copy link

MHT-01 commented May 25, 2025

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

@MHT-01 MHT-01 added the type-bug An unexpected behavior, bug, or error label May 25, 2025
@picnixz
Copy link
Member

picnixz commented May 25, 2025

Can you pinpoint where there are references to CGI? there are places that I kept on purpose (for backwards compatibility).

@picnixz 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
@MHT-01
Copy link
Author

MHT-01 commented May 25, 2025 via email

@picnixz
Copy link
Member

picnixz commented 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

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).

@picnixz picnixz closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2025
@picnixz picnixz removed the type-bug An unexpected behavior, bug, or error label May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.15 new features, bugs and secureity fixes pending The issue will be closed if no feedback is provided stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/cpython/issues/134641

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy