News for hackers. Stuff that matters.
Re:SuPPort: Evented Python servers by scrollaway on Tuesday March 17, 2015 @06:17PM (#9221992)
It's less about where Python 2.7 is going and more about where the libraries themselves are going. If you use a library which is considered deprecated by a large part of the python community, don't be surprised not to aspire new contributors.

No one expects 2.7 to go away, that doesn't mean contributors want to deal with Python 2 when 3 is available elsewhere.

Re:SuPPort: Evented Python servers by markrwilliams on Tuesday March 17, 2015 @07:20PM (#9222331)
It's tendentious to describe gevent as deprecated.

Like Twisted, there are many projects that continue to choose to use gevent, and consequently (for either of those libraries) Python 2. They solve real problems, as does the codebase we extracted SuPPort from, and we hope to help these projects rather than shun them.

Additionally, asyncio doesn't provide the same user API that gevent does: automagic task switching. Whether or not you like that API is a separate issue.

Finally, even if a person has no interest in using SuPPort, we hope that it might provide her insights into problems she'll likely encounter when using asyncio (or Tornado or Twisted or eventlet or any evented system.)

Re:SuPPort: Evented Python servers by scrollaway on Tuesday March 17, 2015 @09:36PM (#9223031)
I re-read my comment and found it to be unwittingly snarky, I apologize. I really like the fact you guys open sourced your stack. I just meant to warn you that 2.x-only stacks are unlikely to attract new people because, as I said, when 3.4 is out there and usable, why would someone start something fresh on 2.x?
Re:SuPPort: Evented Python servers by rspeer on Tuesday March 17, 2015 @07:12PM (#9222298)
I can't fault PayPal for releasing their code as open source. It's great. More companies should do it.

But indeed, I don't think it would be a good idea to wholeheartedly adopt their stack. gevent wasn't even a good idea on Python 2, and I suspect the large companies that use it have built up an armor of best practices and workarounds for its glitches, which you won't know about if you start using it.

Re:SuPPort: Evented Python servers by mhashemi on Thursday March 19, 2015 @03:43AM (#9230681)
I realize this is a day late and thus ancient history in HN time, but I figure a reply couldn't hurt. You're absolutely right that it would be unwise for the typical Python team to fully adopt the stack, especially this early in the release.

In fact the earliness of SuPPort's release serves to illustrate that the primary goal: demonstrating many best practices for building servers and clients, in any language or stack. As far as gevent goes, well, that's mostly an ecosystem-dependent turn of fate that continues to serve us well. A data point gladly share, but not the core message per se. :)