Python 3.11 - Search
Open links in new tab
  1. 1

    Python 3.11.0 was officially released on October 24, 2022. This release marks a significant update to the Python programming language, introducing numerous new features and optimizations.

    Key Features and Changes in Python 3.11

    General Changes

    • PEP 657: Includes fine-grained error locations in tracebacks.

    • PEP 654: Introduces exception groups and the except* syntax.

    • PEP 680: Adds support for parsing TOML in the standard library.

    • gh-90908: Introduces task groups to asyncio.

    • gh-34627: Adds support for atomic grouping and possessive quantifiers in regular expressions.

    Performance Improvements

    The Faster CPython Project has made Python 3.11 up to 10-60% faster than Python 3.10. On average, a 1.22x speedup was measured on the standard benchmark suite.

    Typing and Language Changes

    • PEP 673: Introduces the Self type.

    • PEP 646: Adds variadic generics.

    • PEP 675: Introduces arbitrary literal string types.

    • PEP 655: Allows marking individual TypedDict items as required or potentially missing.

    • PEP 681: Adds data class transforms.

    Python 3.11.0 is a major release that brings substantial improvements and new features, making it a significant update for Python developers. For more details, you can refer to the official release page.

    Continue reading
    Feedback
     
    Kizdar net | Kizdar net | Кыздар Нет
  1. Some results have been removed