Python 32 Now Available

Python 3.2 is now available for download. It represents the continued dedication to stabilize and improve the Python 3.x line. It brings some welcome improvements to the table, as well as many bug fixes.

In order to comply with PEP 3003, the Moratorium on Language Changes, there are no changes to Python’s syntax. Python 3.2 does feature some changes to built-in types, but the programming language’s developers concentrated mostly on support for porting code to Python 3 and the standard library with the release.

The list of improvements packed into Python 3.2 is extensive; tweaks to several of the language’s built-in modules top the list. The unittest module received considerable attention from developers, as it received several improvements. 

The ssl module has been changed to now support certificate hostname matching and SSL contexts. The shutil module has been expanded, and now features archive support. To access configuration information, a sysconfig module has been implemented.

Notable improvements in Python 3.2 continue with PEP 384, defining a stable ABI for extension modules, and PEP 391, dictionary based configuration for logging. PEP 3147, support for .pyc repository directories; PEP 3148, a new futures library for concurrent programming; and PEP 3149, support for version tagged dynamic libraries, are also included in the update. 

{mospagebreak title=Other Python Updates}

Python’s configparser has been upgraded across the board, and now features mapping protocol support.  The email package has been extended to now handle bytes messages, too. To reduce contention, GIL implementation has also been improved, plus much more.

In the realm of bug fixes in the newest Python release, developers addressed several consistency and behavior issues for numeric operations. Bytes and string issues were also fixed, and include full support for a bytes environment. The Python debugger, also known as pdb, has been revamped as well.

As the Python team continues to develop the programming language, it promises that any efforts to create new features will only be found in Python 3.x. Any updates in the Python 2.x line will be strictly limited to bug fixes.

More on this topic, including the official download, can be found here: http://www.python.org/download/releases/3.2/.

[gp-comments width="770" linklove="off" ]

chat