authored by Wayne Witzel III

Python 3.0 (final) release.

On December 04, 2008 In python, community Permalink
As I am sure most of you have heard Python 3.0 (final) has been released. For me, this means some nights getting some continuing development projects updated for the language changes and freezing some projects in maintence mode with their own copy of Python 2.6 (or in some cases 2.4). Some highlights
  • print is now a function: print("5x5", "is", 5*5, sep=" ")
  • annotations for methods (I create a lot of libraries, so this is great!)
  • extended unpacking: x, y , *z = [1,2,3,4,5] now x is 1, y is 2, and z is 3-5
  • <> removed, use != (personal favorite cause I hate <>)
  • no longer can you from import * inside functions
See the whole list here: http://docs.python.org/3.0/whatsnew/3.0.html
Read and Post Comments
blog comments powered by Disqus