Version History
Python Version History
Section titled “Python Version History”Python Software Foundation (PSF) used to support two major versions, Python 2.x & Python 3.x. PSF supported Python 2 because a large body of existing code could not be forward ported to Python 3. So, they supported Python 2 until January 2020, but now they have stopped supporting it. Python Software Foundation Python 3.0 was released on December 3rd, 2008. It was designed to rectify certain flaws in the earlier version. This version is not completely backward-compatible with previous versions. However, many of its major features have since been back-ported to the Python 2.6.x and 2.7.x version series. Releases of Python 3 include utilities to facilitate the automation of Python 2 code translation to Python 3.
The following table lists all the important versions of Python:
- Classes with inheritance exception handling
- Functions
- Modules
- Functional programming tools (lambda, map, filter and reduce).
- Support for complex numbers.
- Functions with keyword arguments
- List comprehension.
- Cycle-detecting garbage collector.
- Support for Unicode. Unification of data types and classes
- Backward incompatible.
- print keyword changed to print() function
- raw_input() function depreciated
- Unified str/Unicode types.
- Utilities for automatic conversion of Pytthon 2.x code
- New C API for thread-local storage
- Built-in breakpoint()
- Data classes
- Context variables
- More.. More..- Assignment Expression
- Positional-only parameters
- Parallel filesystem cache for compiled bytecode files
- More.. More..- Dictionary Merge & Update Operators
- New removeprefix() and removesuffix() string methods
- Builtin Generic Types
- More.. More..