DZone
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
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Coding
  3. Frameworks
  4. Django Support for Python 3 is Coming!

Django Support for Python 3 is Coming!

Chris Smith user avatar by
Chris Smith
·
Mar. 14, 12 · Interview
Like (1)
Save
Tweet
Share
6.47K 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

  • 10 Things to Know When Using SHACL With GraphDB
  • Application Architecture Design Principles
  • Keep Your Application Secrets Secret
  • How To Perform Local Website Testing Using Selenium And Java

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • 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: