This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Python 3 anybody?

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • 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
 
Joe Ess
Bartender
Pie
Posts: 9257
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • 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
Pie
Posts: 9257
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Slashdot has a pretty energetic discussion on the upgrade today.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic