I’m of the opinion that one should only maintain python2 projects not actively develop and expand them. If your project needed http2 then it should be ported to python3. Edit: would using python3 in a container make sense where the distribution only ships legacy python?
What if a company has a large codebase that's in Python 2 and wants http2? Will those suggesting porting help them bear the costs and manhours it takes? (Google, for one, still uses 2. As does Dropbox. And both companies had Guido Van Rossum working for them at some point).
Show HN: Asynchronous HTTP/2 client for Python 2.7
21–30 of 62 posts
Re: Show HN: Asynchronous HTTP/2 client for Python 2.7
#22Earlier quoted context omitted.
What if a company has a large codebase that's in Python 2 and wants http2? Will those suggesting porting help them bear the costs and manhours it takes? (Google, for one, still uses 2. As does Dropbox. And both companies had Guido Van Rossum working for them at some point).
Companies are going to have to port at some point.
Re: Show HN: Asynchronous HTTP/2 client for Python 2.7
#23I’m of the opinion that one should only maintain python2 projects not actively develop and expand them. If your project needed http2 then it should be ported to python3. Edit: would using python3 in a container make sense where the distribution only ships legacy python?
Re: Show HN: Asynchronous HTTP/2 client for Python 2.7
#24Why Python 2 and not Python 3? Short answer is: because Python 3 already benefits from a better, more complete client: aioh2 ( https://github.com/decentfox/aioh2 ) that works with Python's asyncio. th2c is mostly intended for Tornado backends, trying to keep a similar interface and compatibility with Request / Response objects. It was initially developed in order to be able to communicate with APNS from a python 2.7…
Re: Show HN: Asynchronous HTTP/2 client for Python 2.7
#25Earlier quoted context omitted.
What if a company has a large codebase that's in Python 2 and wants http2? Will those suggesting porting help them bear the costs and manhours it takes? (Google, for one, still uses 2. As does Dropbox. And both companies had Guido Van Rossum working for them at some point).
Companies are going to have to port at some point.
Re: Show HN: Asynchronous HTTP/2 client for Python 2.7
#26Why Python 2 and not Python 3? Short answer is: because Python 3 already benefits from a better, more complete client: aioh2 ( https://github.com/decentfox/aioh2 ) that works with Python's asyncio. th2c is mostly intended for Tornado backends, trying to keep a similar interface and compatibility with Request / Response objects. It was initially developed in order to be able to communicate with APNS from a python 2.7…
Hey, I posted an issue on the repo for a Python 3 port here: https://github.com/vladmunteanu/th2c/issues/27 . I think you should give the same explanation there as you did here and close it outright as what you said makes sense. There is still a lot of Python 2.x code being written out there with companies looking for quick ways to upgrade their stack. While I wish it weren't so, your point makes a lot of sense.
Re: Show HN: Asynchronous HTTP/2 client for Python 2.7
#27Earlier quoted context omitted.
What if a company has a large codebase that's in Python 2 and wants http2? Will those suggesting porting help them bear the costs and manhours it takes? (Google, for one, still uses 2. As does Dropbox. And both companies had Guido Van Rossum working for them at some point).
Companies are going to have to port at some point.
- they could continue to maintain python2
- they could move to a non-python platform
- they could go out of business
- they could hold out for Python4 (Python3 was only 8 years after Python2)
...Re: Show HN: Asynchronous HTTP/2 client for Python 2.7
#28Earlier quoted context omitted.
What if a company has a large codebase that's in Python 2 and wants http2? Will those suggesting porting help them bear the costs and manhours it takes? (Google, for one, still uses 2. As does Dropbox. And both companies had Guido Van Rossum working for them at some point).
Companies are going to have to port at some point.
Re: Show HN: Asynchronous HTTP/2 client for Python 2.7
#29Earlier quoted context omitted.
There's still a lot of existing and new Python 2 code being written. Idealistically we would all be on Python 3, but software is a messy land.
It's been ten years, so it's gone beyond "idealistically".
Re: Show HN: Asynchronous HTTP/2 client for Python 2.7
#30Why Python 2 and not Python 3? Short answer is: because Python 3 already benefits from a better, more complete client: aioh2 ( https://github.com/decentfox/aioh2 ) that works with Python's asyncio. th2c is mostly intended for Tornado backends, trying to keep a similar interface and compatibility with Request / Response objects. It was initially developed in order to be able to communicate with APNS from a python 2.7…
How does that compare to aiohttp? What are the benefits?