• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Python 3 anybody?

 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Python 3 was released in December and it has a lot of changes.

It is NOT backwards compatible with version 2 - I am curious about the impact this major change is having - has anybody here used Python 3?

Bill
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From what I've read of Python 3, it's a change for the good. It makes the API more consistent and removes a lot of deprecated cruft. I've used 3 to write a few new scripts in the past few weeks and didn't run into anything that tripped me up. I have a bunch of existing scripts running as cron jobs with Python 2.5, but I haven't had the time to test them with the new API. It probably won't be a big deal to move them over, since I see little functionality in the change documentation that is used in those scripts.
 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not yet, but I expect to be fairly soon.

I wish Java had spent less effort on backward compatibility and more on actually improving the language, so the Python effort is the right way, IMHO.
And the Perl designers don't worry much about backward compatibility either.

q1: Isn't it amazing that God could create the universe in only six days!
a1: nah, it was easy, no installed base
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Slashdot has a pretty energetic discussion on the upgrade today.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic