November 21, 2007

Python upgrades readied for 2008

Developers look to smooth transition between versions of the language as they work concurrently on two upgrades to the platform

Developers of the Python programming language are working concurrently on two upgrades to the core platform, both to arrive in 2008, representatives of Python said Wednesday.

The first due out, Python 2.6, will serve as a transitional release ahead of Python 3.0, which features basic changes but does have some incompatibilities with the 2.x line, said David Goodger, a director of the Python Software Foundation, which manages IP rights to the language and promotes it. Version 3.0 also is known by the codename Python 3000.

Popular for Web development but not limited to it, the language has benefits like taking care of tasks like memory management and declaration of variables so developers do not have to, Goodger said. "It fits programmers' brains a lot better than other languages," he said.

With version 2.6, users will be able to determine if there are any incompatibilities between Python 3.0 and their programs. A tool will be offered to ease the conversion to the 3.0 platform.

Version 3.0 will feature internationalization via Unicode support and will make such alterations as changing its print statement into a function so that developers can use the word "print" in their programs. Also, it will feature a new I/O library to make for better compatibility across different operating systems

"Over the years since Python was originally released in 1991, it's come to many people's realizations that there are some problems with the original design," Goodger said. "We're taking this opportunity to fix those problems and round off the edges."

A beta release of version 2.6 is due around February with the general release set for March or April. Currently in an alpha stage, Python 3.0 goes to beta during the timeframe of the PyCon conference for Python developers in March with the final release set for next August.

"Some minor changes might have to be made to 2.x code to make it compatible with the tool that converts it to version 3, so this tool we're providing will allow people to upgrade their code base without a lot of manual work," Goodger said.

Those in charge of the base Python platform also may continue developing the 2.x line of the language, but these would not include some of the optimizations featured in Python 3.0, said Goodger.

Goodger noted that while the core distribution of Python is maintained by the foundation, there are multiple versions of Python with organizations able to take it and add their own third-party packages. IronPython serves as an implementation of the Python language for Microsoft's .Net language, for example. Jython is a version for Java.

PyCon is to be held in Chicago March 14-16 in 2008; Guido van Rossum, lead developer of Python, will present on Python 3.0 at the event. Goodger is the chair of the conference.

Van Rossum cited the intent of Python 3000 in his blog in June.

"The idea was that Python 3000 would be the first Python release to give up backwards compatibility in favor of making it the best language going forward," he said.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.