5 ms·
So much cleaner and more consistent. Classic classes are gone for good! Unlike with other languages (which I won't name for fear of offense!) I think Pythonist
by petercooper 18y ago
So much cleaner and more consistent. Classic classes are gone for good!
Unlike with other languages (which I won't name for fear of offense!) I think Pythonistas will actually migrate to this much improved Python (well, forgetting the 10% performance hit) especially as such focus has been put into making tools to make it easier, unlike with PHP 4->5 (oops..!)
- thorax 18y agoI'll miss __coerce__. :(
- joestrickler 18y agoSorry, no. I do most of my work in Python and would love to see quick Py3k adoption. But 2.3 was released 29-Jul-2003 and is still the baseline for portable code. Pythonistas are just as much a victim to the forces against migration as PHP and "other language" coders. Just for kicks, try getting a stable webapp stack running on 2.6. I'm still not near ready to put that into production (and I run tiny, tiny websites).
- lacker 18y agoGoogle App Engine uses 2.5.2 and that seems stable. http://code.google.com/appengine/docs/whatisgoogleappengine.html http://code.google.com/appengine/docs/whatisgoogleappengine....
- nihilocrat 18y agoI think he is using the "enterprise" definition of "stable", which means "really, really old for no really good reason". 2.5.2 is "latest stable" for me, I've had no problems with it.
- kaens 18y agoI run a stable CherryPy app on 2.6 . It was a bit painful for about a week after 2.6 came out, but became stable pretty fast. There are a whole lot of possibilities for a "webapp stack" in python. What are you running your sites on top of?
- joestrickler 18y agoThe Python LDAP and psycopg2 libraries are my biggest culprits. My point is not that it's impossible to run 2.6; but setting it up requires a level of sophistication with Python/*nix that I can't put on the shoulders of my organization, yet. If I were working with a couple of smart hackers, this would be a non-issue. But my feeling is my organization is like a lot of others, where anything that's not a tagged, stable "sudo apt-get install" away is not going to fly.
- kaens 18y agoAhh, yeah it does require a good bit of familiarity with both python and *nix environments. I'm a lone guy, managing my own servers, with complete control over their environments. That's quite a bit different than a business environment, corporate or not.
- etal 18y agoThe latest draft of Linux Standard Base appears to specify Python 2.4. I wish we could rely on everyone having ctypes and ElementTree in the standard library, but no luck. (I think web.py 0.3 and possibly the trunk of Django can handle Py2.6, but obviously they're not going to drop support for older versions any time soon.)
- mahipal 18y agoAny elaboration on where the 10% performance hit comes from? I read over the "What's New" and Guido's announcement, but I didn't find any mention of it.
- kaens 18y agoMost likely the biggest cause is the removal of special-casing for small integers. http://docs.python.org/dev/3.0/whatsnew/3.0.html#performance http://docs.python.org/dev/3.0/whatsnew/3.0.html#performance I'm anticipating a more thorough discussion of this on python-list or python-dev in the near future.
- petercooper 18y agoI expect it's just a case of removing optimizations in order to get everything stable, then they can start work on new optimizations. I'm not a Python dev though, so elaboration would be cool ;-)
- kaens 18y agoIn this particular case, I think it's because all ints are now longs. Or rather, there's one int type and it behaves like a long. I'm not a python dev either, but that's what I've gathered by lurking the python-dev and python-3000 mailing lists.
- cpr 18y agoJust to clarify for non-Pythonistas, a "long" is an unlimited precision integer.
- petercooper 18y agoUnder "Performance" at http://docs.python.org/dev/3.0/whatsnew/3.0.html http://docs.python.org/dev/3.0/whatsnew/3.0.html : The net result of the 3.0 generalizations is that Python 3.0 runs the pystone benchmark around 10% slower than Python 2.5. Most likely the biggest cause is the removal of special-casing for small integers. There’s room for improvement, but it will happen after 3.0 is released!
- breck 18y agoTrue, migrating to PHP4 to 5 wasn't pretty, but 5 was an order of magnitude improvement over 4 and so worth the cost. Not sure if the same can be said for this new Py release. I'm still doing everything in 2.6(which was a recent move from 2.5). Too many libraries that aren't out for 3 yet.
- etal 18y agoAlso, a lot of the scripts that power Gnome and Debian are written in Python. Ubuntu also seems to do most new work in Python. So I expect Python 2.X to be the default in distros for quite some time, probably until a 3.1 release or later.