Earlier quoted context omitted.
Not in the defence industry.
Some industries will be stuck with old versions of just about any language, no matter what. GP actually said he's stuck on 2.6, which means he can't even use 2.7.
Python 3.5.0
131–140 of 165 posts
Re: Python 3.5.0
#132Earlier quoted context omitted.
Is Py3 ready for prime time? Do all the right libraries have support now?
Unfortunately I'm stuck on 2.7 until Google updates App Engine
If your codebase is large, it can feel daunting, but it's not usually that bad.
Re: Python 3.5.0
#133So far, this is my favorite 3.x release. Typing annotations, async/await, unpacking generalizations. Lots of cool new features. Too bad that PEP0498[1] didn't make it in this release, we'll have to wait for 3.6. [1] https://www.python.org/dev/peps/pep-0498/
I thought that Python3 removed 'u' strings, was this just a bit of humour in the PEP?
Re: Python 3.5.0
#134So far, this is my favorite 3.x release. Typing annotations, async/await, unpacking generalizations. Lots of cool new features. Too bad that PEP0498[1] didn't make it in this release, we'll have to wait for 3.6. [1] https://www.python.org/dev/peps/pep-0498/
> 'f' may not be combined with 'u'. I thought that Python3 removed 'u' strings, was this just a bit of humour in the PEP?
Re: Python 3.5.0
#135Earlier quoted context omitted.
I use it like es6 or haskell destructuring. Sure it's a little weak compared to both those implementations, but the tuple case covers enough to be useful.
EC6 allows you to destructure in the function definition ?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Re: Python 3.5.0
#136Python 3 keeps getting better and better. I've been writing more code in Python 3 than 2 for about three years now, and I absolutely love it. When I have to write code in 2.7 now, it feels like shifting from fifth gear down to second.
Is Py3 ready for prime time? Do all the right libraries have support now?
Although, I still find myself running tests and cursing at the fact that I keep writing print "string" without the brackets :D
Re: Python 3.5.0
#137Re: Python 3.5.0
#138Earlier quoted context omitted.
I use it like es6 or haskell destructuring. Sure it's a little weak compared to both those implementations, but the tuple case covers enough to be useful.
EC6 allows you to destructure in the function definition ?
Re: Python 3.5.0
#139Earlier quoted context omitted.
Care to share some highlights? Fifth to second sounds like a big difference!
It has the ability to statically check the type system , that's amazing. Moreover async/await with async resource management (which C# doesn't have yet) gives it a real edge for server development.
In C#, the using statement combines with async/await. It is cool that Python finally gains proper async/await, there is no need to diss other languages.
Re: Python 3.5.0
#140Python 3 keeps getting better and better. I've been writing more code in Python 3 than 2 for about three years now, and I absolutely love it. When I have to write code in 2.7 now, it feels like shifting from fifth gear down to second.
> When I have to write code in 2.7 now, it feels like shifting from fifth gear down to second. You mean, second gear up to fifth? I tried writing some Python 3 code and the lack of parameter tuple unpacking by itself stunned me and drove me crazy, never mind other stuff. Python 3 seems very user-unfriendly compared to Python 2. Won't touch it with a ten foot pole unless my life depends on it.
What are the cases where you use it / rely on it?