Python 3.3 Released
Written by Alex Armstrong   
Saturday, 29 September 2012

After a few release candidates, Python 3.3 is ready to be used for real. The biggest change is the new yield from expression, there are also some new library modules and a range of small improvements.

Python is slowly working it's way away from the 2.x series and version 3.3 is another good reason to forget the past.

 

pythonlogo

 

 

The new yield from expression is something that not all Python programmers will need to use. In fact, not many will need to master the yield from expression at all.

Yield is something you need to implement your own iterators, i.e. to generate a series of entities. Yield from allows you delegate the iteration to another iterator without loss of full control.

The four new library modules are:

  • faulthandler - for help with debugging low-level crashes
  • ipaddress -  a set of high-level objects representing IP addresses and masks
  • lzma  - compresses data using the XZ / LZMA algorithm)
  • venv - introduces virtual environments to Python

The Python virtual environments library essentially lets you set up a system in isolation from other versions of the language. You can also tailor the runtime environment to use particular versions of each library. If you have an application that you want to continue to work, even if the user installs new versions of libararies, then this is something you need to look into.

 pythonlogo

 

Unicode support has been improved in 3.3 with more efficient string storage and a full range of Unicode codepoints. This hopefully means that Python now allows proper Unicode apps to be written.

Many more minor improvements are listed on Python.org and you can download Python 3.3 for Linux, Windows and OSX there.

More Information

http://www.python.org/download/

Related Articles

See Python Run - Free Visualization Tool

The Python Dictionary

Arrays in Python

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

Banner


iOS 17.4 Released With Support For App Stores In The EU
06/03/2024

I have written about Apple's approach to complying with regulation, characterizing it as malicious compliance. It also seems that Apple is a master of creating the unintended consequence and letting i [ ... ]



Edgeless Systems Announces Continuum AI
14/03/2024

Edgeless Systems has announced the launch of Continuum, a  security solution that provides cloud-based "Confidential AI" services and enables sharing of sensitive data with chatbots such as ChatG [ ... ]


More News

More Information

 

Related Articles

 

 

Last Updated ( Saturday, 29 September 2012 )