Linked by Thom Holwerda on Thu 9th Oct 2008 21:04 UTC, submitted by ganges master
General Development Python 2.6 has been released on October 1st. The major theme of this release is preparing the migration path to Python 3.0, a major redesign of the language. Whenever possible, Python 2.6 incorporates new features and syntax from 3.0 while remaining compatible with existing code by not removing older features or syntax. See the what's new docs for more details.
Permalink for comment 333106
To read all comments associated with this story, please click here.
RE[2]: Yeah, greate
by unavowed on Fri 10th Oct 2008 08:59 UTC in reply to "RE: Yeah, greate"
unavowed
Member since:
2006-03-23

Except that if you want to keep your code width limited to, say, 80 columns, then in many cases you are forced to use backslashes at the end of a line to inform python that you intend to continue it in the next. I personally prefer braces or "end" keywords over having to do this manual dance, which sometimes makes me feel I'm writing for the C preprocessor.

Example:
$ cd /usr/share/blender/scripts && grep '\\$' *.py | wc -l
938

Edited 2008-10-10 09:02 UTC

Reply Parent Score: 2