Python 3000 project (Py3k or Python 3.0)

In addition to syntax changes, Python 3000 (around 2008) has plenty of new features. This video is a preview of a keynote to be given at PyCon 2007 but a lot of changes are presented.

Example: In Python 3000, print is no longer a statement, but a function. So:

print: print “this is a test”

becomes: print(“this is a test”)

I have a suggestion: UnitTest for all our modules, now!

A good test suite will save you from a huge headache when all of these changes come down.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: