-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Deprecate low-level api from aiohttp namespace #1657
Comments
I agree with this. Also I am thinking of making a Pure C++ wrapper of aiohttp using boost's async stuff if possible so that way people who know how to use aiohttp in python would be able to use cpphttp for C++. However the name might change but for sure some C++ native apps where it is not really effective to use python with their code would see better http support in C++ (Because C++ has slim to none support for http client/server API) and so I plan to finally make one based off of aiohttp. Feel free to contribute to it if you need to. I do have to figure out how to keep it up to par with aiohttp as well. anyway I will start on the classes and the implementation functions would all return 0 until it gets fully working code much like aiohttp has. The classes and the functions will all have the same names except for the |
will be removed in 2.1 |
ok |
@fafhrd91 what are your exact steps in process of deprecation of library's public names? |
technically all those names are private, I can not imaging anybody uses those names. |
maybe except |
I do not have strong opinion on this issue. if you think we should keep this names for longer, let's keep them longer. |
tbh if it was me I would have crammed aiohttp into far less modules. But I am not sure if everyone would like it though so yeah. (Not to mention it is not always a good idea.) |
here names that aiohttp2.0 is missing compared to 1.3
we still export this names for backward compatibility
I am not sure about |
Hi, I'm new to aiohttp and have some code written using aiohttp low level server that needs to be ported to latest standards. Are there any docs that deal specifically with the porting? What things do we need to change? |
Are you talking about https://docs.aiohttp.org/en/stable/web_lowlevel.html ? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
Deprecate
aiohttp.HttpMessage
aiohttp.Response
aiohttp.Request
aiohttp.RawRequestMessage
aiohttp.RawResponseMessage
aiohttp.HttpRequestParser
aiohttp.HttpResponseParser
aiohttp.HttpPayloadParser
aiohttp.HttpProcessingError
aiohttp.BadHttpMessage
aiohttp.HttpBadRequest
aiohttp.BadStatusLine
aiohttp.LineTooLong
aiohttp.InvalidHeader
aiohttp.ClientDisconnectedError
The text was updated successfully, but these errors were encountered: