Python 3.0 makes a big break
linux.com
linux.com
One of the links in the story sums this up in a much better way than I could do in a comment: http://www.comp.leeds.ac.uk/nde/papers/teachpy3.html
Actually, I am designing a programming language, and they look like this:
fileHandle << data;
aString << data;
out << data;GvR said that new stuff should be built on py3k, but I'm betting it will be quite some time before anyone develops anything of significance on it. At work, even though we're in the early stages of developing our product, we're still sticking with 2.5 for the foreseeable future.
I imagine the adoption rate for Py3k will be worse than PHP5.
The adoption of Python 3 will likely differ, since Python is not a standard feature of low-cost web hosts and has a wide range of uses outside of web development. It should be interesting to see how this plays out.
The Zen of Python is violated: practicality is bitten by purity.
Why the tab in column 1? Yacc was new, Lex was brand new. I hadn't tried either, so I figured this would be a good excuse to learn. After getting myself snarled up with my first stab at Lex, I just did something simple with the pattern newline-tab. It worked, it stayed. And then a few weeks later I had a user population of about a dozen, most of them friends, and I didn't want to screw up my embedded base. The rest, sadly, is history.
Beware the argument that life will be harder tomorrow, or even for the next year. Sometimes that's better than living with your mistakes for 30 years.
I hope someone big and important like Ubuntu or Red Hat does a fork for compatibility (they could call the fork "Real Python", and start version numbers at 4.0). Oh well, at least it gives me an incentive to learn Ruby.
He mentioned that Python 2.x is will be supported for a very long time. They definitely expect to have 2.7 and may be even 2.8. They are also going to backport important features and security fixes from 3.x
Google has a very large codebase written in Python 2.x, it's in their interest to support the language for as long as needed.
http://www.interlink.com.au/anthony/tech/talks/OSCON2008/por...
I know of shops that still use 1.5/1.6...