![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
Which of the new features do you like?
Is it worth installing over Python 2.4?
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Corountines are nice for networking and other asynchronous events. That's probably the most significant change to Python in my opinion. The "with" syntax sugar is also rather nice, as it removes the need to write cleanup code more than once, and adds some visually informative indentation.
I'm installing it ![]() |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Apr 2004
Location: Texas
Posts: 106
Rep Power: 5
![]() |
I like that they combined try:except:else and try:finally .... no more
try:
try:
someAction()
except:
someOtherAction()
finally:
someFinalAction()
__________________
[ [ SykkN alloc ] initWithThePowerTo: destroyYouAll ]; /* Don't make me use it! */ |
|
|
|
|
|
#4 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 648
Rep Power: 4
![]() |
I'm wating for the .deb . I did download the source and make'ed it so I could test the new features, but I never make install'ed.
I was even prepared to make my own package, but I was quickly overhwhelmed.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
Are there any web sites with more detailed information on the new features, hopefully some actual examples?
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#6 |
|
Expert Programmer
|
|
|
|
|
|
|
#7 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
Thanks titaniumdecoy!
I have looked around the www.python.org web site and checked some of the peps, but this combines it all nicely!
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#8 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
This is a goofy web page:
http://docs.python.org/dev/whatsnew/whatsnew25.html "What's New in Python 2.5" on occasion keeps slipping into "What's New in Python 2.6" which is totally uninformative! Looks like those Python eggheads know their Python but not their HTML.
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#9 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Note that some of the PEPs are merely templates.
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
|
#10 |
|
Newbie
Join Date: Oct 2006
Posts: 2
Rep Power: 0
![]() |
In my mind, one of the best reasons to upgrade to the new 2.5 is the inclusion of SqLite into the mix. No point for writing out temp files to hold variables or even fuss with MySQL bindings any longer.
Just declare a file to be the datastore and start stuffing things in there. I'm sure there's a lot more neat things out there, but including sqlite natively really was something that got me interested. Cheers, tom |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [tutorial] Python for programming beginners | coldDeath | Python | 30 | Dec 14th, 2005 12:35 PM |
| If you want to learn Python or improve your Python skills | coldDeath | Python | 2 | Nov 23rd, 2005 1:27 AM |
| Convert Python script to C++ code | clanotheduck | Python | 17 | Sep 25th, 2005 9:55 AM |
| Advanced Python Tricks | Arevos | Python | 19 | Sep 24th, 2005 8:39 AM |
| Python - A Programmers Introduction | coldDeath | Python | 17 | Aug 19th, 2005 1:41 PM |