News for hackers. Stuff that matters.
Re:Show HN: Asynchronous HTTP/2 client for Python 2.7 by vsmhn on Thursday March 22, 2018 @08:44AM (#16648099)
Well, Python 3 already has a similar library that deals with this stuff, such as https://github.com/decentfox/aioh2.

Also, this is mostly intended for Tornado backends, offering compatibility with Tornado's request / response objects.

Re:Show HN: Asynchronous HTTP/2 client for Python 2.7 by benatkin on Thursday March 22, 2018 @08:47AM (#16648122)
I see. May I suggest linking to that in the README? And if you aren't part of the Python 2 forever camp, suggest how one might migrate from using your library to using python 3 with the other library in the future? And if the APIs aren't similar it might be a good idea to make them similar.
Re:Show HN: Asynchronous HTTP/2 client for Python 2.7 by vsmhn on Thursday March 22, 2018 @08:53AM (#16648166)
I understand your point, and I'll try to update the README with that information. However, this client tries to follow Tornado's ways, whereas aioh2 works on Python's asyncio.

It's still WIP, so feedback like yours helps a lot, thanks!

Re:Show HN: Asynchronous HTTP/2 client for Python 2.7 by peterkelly on Thursday March 22, 2018 @09:39AM (#16648524)
Are people really still so closely wedded to Python 2 that they find it easier to reimplement all the features they need from Python 3 in the former, instead of switching to the latter?
Re:Show HN: Asynchronous HTTP/2 client for Python 2.7 by siimtalvik on Thursday March 22, 2018 @11:58AM (#16649716)
yes.

I had a coworker who was against moving to python3(and kept on writing python2 code for a while) because you need to use brackets with python3 print statement.

Re:Show HN: Asynchronous HTTP/2 client for Python 2.7 by coldtea on Thursday March 22, 2018 @10:09AM (#16648763)
Yes.
Re:Show HN: Asynchronous HTTP/2 client for Python 2.7 by always_good on Thursday March 22, 2018 @01:42PM (#16650847)
Just think of any large code base and it should be obvious.

What's simpler, rewriting a massive project, or maintaining a library? For example, OP did the latter himself.