Skip the navigation
)
News

Last of Python 2.x language line moving forward

By Paul Krill
January 14, 2010 07:06 PM ET

InfoWorld - Python 2.7, expected to be the last major version of the 2.x series of the dynamic language, was released as a second alpha earlier month by the Python Software Foundation, with the final release set for June.

Two  beta version of Python 2.7 and two release candidates are expected in the meantime, said Steve Holden, chairman of the foundation, on Thursday.

[ Python is one of the scripting languages sparking a new programming era. ]

Developers of the popular dynamic language have been maintaining two separate lines, the 2.x and 3.x series.  When 2.7 is released, the 2.x line will move into five years of a bug fix-only mode.  Python 3.0 was released in December 2008 and was intentionally incompatible with the 2.x line.

"Basically, Python has a very good compatibility story over a long period of time, but [Python founder] Guido van Rossum has always been aware that there have been some warps [or inconvenient features] in the language, so he allowed himself just a one-time break in compatibility," said Holden.

"We didn't want to stick our users [with having] to do a fast migration to an incompatible language, and that's why the 2 series has continued to be developed," he said.

Featured in the 2.7 release are improvements first offered in Python 3.1, including an ordered dictionary type and unit test features like test skipping and new assert methods. A faster IO module is included along with automatic numbering of fields in the str.format()  method. New syntax is offered for nested with statements.

Other features include Float repr improvements; repr is used to generate string representations of objects. "Basically, we've just achieved more consistency now," Holden said.

Tile support for the Tkinter Python interface is featured as is a backport of the memory view object from Python 3.x.

Python has been popular in Web development but also for applications in areas like scientific computing, Holden said. "It's not purely a Web language," he said.

Python 3.2  is due in alpha versions beginning in June, followed by beta and release candidate versions, with a final version due December 11.

The language is now going into a two-year "grammar freeze," so 3.2 will not introduce new language features, said Holden. "This is primarily to allow other implementations (Jython, IronPython, PyPy, etc.) to bring their releases up to the same standard, again providing a better compatibility story for end users," said Holden.

The Python 3.x line was developed as a result of a desire to fix problems with the original design.  It offers capabilities such as internationalization via Unicode as well as alterations such as a new I/O library for better compatibility across operating systems. It also changes the print statement into a function.

The foundation has offered a tool for moving applications from Python 2.x to 3.x and a migration strategy has been published for developing for both languages from a common code base, Holden said.

This story, "Last of Python 2.x language line moves forward," was originally published at InfoWorld.com. Follow the latest developments in application development at InfoWorld.com.

Originally published on www.infoworld.com. Click here to read the original story.
Reprinted with permission from InfoWorld. Story copyright 2012 InfoWorld Media Group, Inc. All rights reserved.
What is Tech Briefcase?
TechBriefcase is a new, free service where IT Professionals can Search, Store and Share IT white papers and content like this. Learn more
Bookmark content
Speed up your research efforts with content across the web.
Search and Store
Find the white papers you need. Create folders for any topic.
View Anywhere
Open your briefcase on your iPhone, tablet or desktop. Share with colleagues.
Don't have an account yet?
Additional Resources
Security KnowledgeVault
WHITE PAPER
Security is not an option. This KnowledgeVault Series offers professional advice how to be proactive in the fight against cybercrimes and multi-layered security threats; how to adopt a holistic approach to protecting and managing data; and how to hire a qualified security assessor. Make security your Number 1 priority.

Read now.

Cut Communications Costs Once and for All
WHITE PAPER
New IP-based communications systems are being deployed by small and midsized businesses at a rapid rate. Learn how these organizations are enabling faster responsiveness, creating better customer experiences, speeding office or mobile interactions, and dramatically reducing existing communications costs.

Read now.

App Development White Papers
Workload Automation Challenges and Opportunities
This Executive Brief discusses IDC's perspective on how enterprise workload management requirements are changing and highlights the ways that workload automation solutions can...
Practice Management: Double Billing Rate and Improve Patient Services
Would you like to double your billing rate and achieve faster payment for services?

Download this customer success story to see how One Health...
Mission Critical Data Explosion and Customer Case Study
Would you like to double your tier 1 storage capacity while simultaneously reducing your storage footprint?

Download this customer success story to see how...
Protecting Against Database Attacks and Insider Threats: Top 5 Scenarios
Read this new eBook to learn the top five scenarios and essential best practices for preventing database attacks and insider threats.
Database Activity Monitoring Is Evolving
Read the analyst report and learn how you can leverage the core capabilities of a DAP solution for better database security.
All App Development White Papers
App Development Webcasts
Distributed Database Security with Real-time Monitoring
View this demo and learn how IBM InfoSphere Guardium database activity monitoring can help protect your sensitive data in distributed DBMS environments with...
InfoSphere Warehouse Packs Demo
These flash modules make warehousing more tangible and relevant to business users through detailed explanations of the InfoSphere Warehouse Packs.
Delivery Management -- Extending Lifecycle Management
Date: Wednesday, June 20, 2012, 1:00 PM EDT

Siloed organizations continue doing the wrong things and doing things wrong, leading to increased costs,...
Leverage automation today to reduce IT complexity
Date: Tuesday, June 5, 2012, 2:00 PM EDT

Whether your B2B complexity is caused by multiple technologies due to M&A, business or application specific...
Redefine Expectations in the Data Center
Need to do more with less? Watch this video to learn how HP ProLiant Gen8 servers can help your business deploy servers three...
All App Development Webcasts
Newsletter Sign-Up

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all newsletters | Privacy Policy
IT Jobs