moinsen / Software historyDE ↗
← 2008

Event

Python 3 verändert die Sprache

Context and research status
  • Kennung: 2008-python-30
  • Zeitraum: 3. Dezember 2008
  • Datumsgenauigkeit: Tag / day
  • Art: Programmiersprache / programming language
  • Kategorien: Sprachen und Techniken, Ereignisse
  • Beteiligte: Python-Gemeinschaft / Python community
  • Region: international

Python 3.0 was released on 3 December 2008. The new major version changed, among other things, string handling and parts of the standard library and was not fully compatible with Python 2. A tool called 2to3 was provided to help with migration. Sources

One visible example: the Python 2 statement print "Hallo" became the function call print("Hallo") in Python 3. In addition, str represents Unicode text and bytes binary data. Python 2 already supported Unicode; the change concerned, in particular, how text and bytes were handled by default. Documentation and PEP

The 2.x series continued to be maintained: Python 2.7 appeared in 2010. Official support ended on 1 January 2020; the final release, 2.7.18, followed later.

Vorgeschichte / Earlier release

Sources