Moving to Python 3 | Linux Today

Moving to Python 3

Written By
Web Webster
Web Webster
Feb 24, 2011

“Python 3.0 was released at the end of 2008, but so far only a
relatively small number of packages have been updated to support
the latest release; the majority of Python software still only
supports Python 2. Python 3 introduced changes to Unicode and
string handling, module importing, integer representation and
division, print statements, and a number of other differences. This
article will cover some of the changes that cause the most problems
when porting code from Python 2 to Python 3, and will present some
strategies for managing a single code base that supports both major
versions.

“The changes that made it into Python 3 were originally part of
a plan called “Python 3000″ as sort of a joke about language
changes that could only be done in the distant future. The changes
made up a laundry list of inconsistencies and inconvenient designs
in the Python language that would have been really nice to fix, but
had to wait because fixing them meant breaking all existing Python
code. Eventually the weight of all the changes led the Python
developers to decide to just fix the problems with a real stable
release, and accept the fact that it will take a few years for most
packages and users to make the switch.”

Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.