DZone
Web Dev Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Web Dev Zone > Django Support for Python 3 is Coming!

Django Support for Python 3 is Coming!

Chris Smith user avatar by
Chris Smith
·
Mar. 14, 12 · Web Dev Zone · Interview
Like (1)
Save
Tweet
6.33K Views

Join the DZone community and get the full member experience.

Join For Free

Django 1.4 is almost ready for showtime, but people are still asking, "When will we see support for Python 3?"  Well, good news came out of PyCon this week, as experimental support for Python 3 is expected to come with the release of Django 1.5.  But don't forget that this release of Django has some impressive features, which you can check out on the right.


Now, let me be clear.  There is a HUGE process that needs to take place before switching over a community the size of Django to support Python 3.  But there is a plan in place, and it involves some (somewhat) complicated steps, so let me try and break it down.


Step 1: Django 1.4 will no longer support Python 2.4, meaning Python 2.5 will now be the minimum requirement for Django 1.4.

Step 2: Django 1.5 will not support Python 2.5, making Python 2.6 the minimum requirement for Django 1.5

Step 3:
Using the compatibility features that Python 2.6 and 2.7 have with Python 3, Django 1.5 will begin porting the codebase, offering EXPERIMENTAL support for Python 3, with the goal of targeting up to Python 3.3, which should be released around the same time as Django 1.5 (this fall).

The full details of that porting process and the level of support (i.e., whether Python 3 incompatibilities will become blocking bugs much as incompatibilities with alternate implementations like PyPy already are) are still being worked on, but Python 3 is the future of the Python language, and in support of that the Django project is and will remain committed to achieving Python 3 compatibility.

-- James Bennett


In case you missed the lighting talks at PyCon this week, James Bennet gave a "Steve Jobs-esque" presentation of the new features in Django 1.4, along with the announcement of experimental support for Python 3.3 with Django 1.5, "And the crowd goes wild!"  Note: Skip to the 1:06:45 mark to see James' Presentation.





It looks like the Django project leaders are doing a great job setting up a plan of gradual migration to Python 3.

Python (language) Django (web framework)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Top ALM Tools and Solutions Providers
  • 3 Reasons Why You Should Centralize Developer Tools, Processes, and People
  • Component Testing of Frontends: Karate Netty Project
  • Data Mesh — Graduating Your Data to Next Level

Comments

Web Dev Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo