aspose file tools*
The moose likes Jython/Python and the fly likes Python 3 anybody? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "Python 3 anybody?" Watch "Python 3 anybody?" New topic
Author

Python 3 anybody?

William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
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

Joined: Oct 29, 2001
Posts: 8997
    
    9

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.


[How To Ask Questions On JavaRanch]
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

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

Joined: Oct 29, 2001
Posts: 8997
    
    9

Slashdot has a pretty energetic discussion on the upgrade today.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Python 3 anybody?