Python 3.12 with New Features

Python 3.12 receives new syntax, grammar, data model, and security updates.

The open source Python programming language is continuing to add new capabilities as its popularity grows.

Python 3.12 was officially released by the Python Software Foundation on Oct. 2, as part of the programming language’s normal annual release cycle. The new release is packed with a number of improvements and new features that aim to enhance the Python developer experience.

This latest iteration of the popular programming language also brings significant optimizations under the hood, and the removal of various legacy APIs.

Major updates in Python 3.12 include:

  • Syntax features. PEP 695 introduces a new, more compact, and explicit way to create generic classes and functions with type parameter syntax.
  • Grammar updates. PEP 701 formalizes the syntax of f-strings and lifts some restrictions on their usage.
  • Security improvements. The built-in hashlib implementations of SHA1, SHA3, SHA2-384, SHA2-512, and MD5 are replaced with formally verified code.

Read More here.


Discover more from Vancouver Linux Users Group

Subscribe to get the latest posts sent to your email.


Posted

in

by

Tags:

Discover more from Vancouver Linux Users Group

Subscribe now to keep reading and get access to the full archive.

Continue reading