Skip to content
Python versions (2024-04-15 15H (Europe/Paris))
PEP-0604 Allow writing union types as X | Y
Type to start searching
Python versions
Index
Liens Python
Liens devops
Liens Web
Liens pvergain
Python 3.10.0
(2021-10-04)
Python versions (2024-04-15 15H (Europe/Paris))
Python versions
Release PEPs
Python 3.14.0
(future)
Python 3.13.0
(DEV)
Python 3.12.3
(2024-04-09)
Python 3.12.1
(2023-12-07)
Python 3.12.0
(2023-10-02)
Python 3.11.7
(2023-12-04)
Python 3.11.5
(2023-08-24)
Python 3.11.4
(2023-06-06)
Python 3.11.3
(2023-04-05)
Python 3.11.2
(2023-02-10)
Python 3.11.0
(2022-10-24)
Python 3.10.0
(2021-10-04)
Python 3.10.0
begin
Python 3.10 documentation (devguide, parser, garbage_collector)
better error messages
Length-checking for the zip function
match statement (structural pattern matching)
Slots for data classes
Type annotation improvements
PEP-0637
Support for indexing with keyword arguments
PEP-0636
Structural Pattern Matching: Tutorial
PEP-0634
Structural Pattern Matching
PEP-0604
Allow writing union types as X | Y
PEP-0604
Allow writing union types as X | Y
Show Source
PEP-0563
and
from __future__ import annotations
PEP-0554
Multiple Interpreters in the Stdlib
Python 3.10 C-API
PEP-0619
Python 3.10 Release Schedule
Python 3.10.0
videos
Python 3.10: Cool New Features for You to Try
Python 3.10: What’s New by Jan Giacomelli
Python 3.10.0
and black =>
we need a new parser
Python 3.10 bugs
Python 3.9.7
(2021-08-30)
Python 3.9.6
(2021-06-28)
Python 3.9.5
(2021-05-03)
Python 3.9.4
(2021-04-04)
Python 3.9.2
(2021-02-19 => TBD)
Python 3.9.0
(2020-10-05 => TBD)
Python 3.8
(2019-10-14 => 2024-10)
Python 3.7.0
(2018-06-15 => 2023-06-27)
Python 3.6.0
(2018-06-15 => 2021-12-21)
Python 3.4.0
(2018-06-15 => obsolete)
Show Source
PEP-0604
Allow writing union types as X | Y
¶
See also
https://www.python.org/dev/peps/pep-0604/