File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "Python 3 anybody?" Watch "Python 3 anybody?" New topic

Python 3 anybody?

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
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?

Joe Ess

Joined: Oct 29, 2001
Posts: 8839

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.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Pat Farrell

Joined: Aug 11, 2007
Posts: 4646

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

Joined: Oct 29, 2001
Posts: 8839

Slashdot has a pretty energetic discussion on the upgrade today.
It is sorta covered in the JavaRanch Style Guide.
subject: Python 3 anybody?
Similar Threads
Book for python, preferably similar to Head First's approach
new forum jython/python
Implementation language for Google search engine?
how to call a servlet from Python?????