Connect with us

News

Python 3.9.0 stable version released

Published

on

According to report, the Python 3.9.0 stable version (Python 3.9.0 final) was officially released yesterday. It contains many new features and optimizations. It is forbidden to install on Windows 7, and 64-bit installation is provided by default. program.

Naijatechnews learned that the first iteration of Python 3.9.0 alpha 1 was launched in November 2019, and it has been nearly a year since.

Compared with Python 3.8, the main new features and changes of the Python 3.9 series mainly include:

PEP 573, Module Status Access of C Extension Method

PEP 584, dict of joint operators

PEP 585, Type Prompt Generics in the Standard Collection

PEP 593, Flexible function function and variable annotation

PEP 602, Python adopts a stable annual release method

PEP 614, relaxation of grammatical restrictions on decorators

PEP 615, supports the IANA time zone database in the standard library

PEP 616, removing string methods for prefixes and suffixes

PEP 617, a new PEG parser for CPython

BPO 38379, the garbage collector will not prevent the resurrected object;

BPO 38692, added os.pidfd_open, which allows process management without races and signals;

BPO 39926, Unicode support has been updated to version 13.0.0;

BPO 1635741, when Python is initialized multiple times in the same process, it no longer leaks memory;

Now use PEP 590 vectorcall to speed up many Python built-in functions (range, tuple, set, frozenset, list, dictionary);

Now, many Python modules (_abc, audioop, _bz2, _codecs, _contextvars, _crypt, _functools, _json, _locale, operator, resource, time, _weakref) use multi-stage initialization defined by PEP 489;

Many standard library modules (audioop, ast, grp, _hashlib, pwd, _posixsubprocess, random, select, struct, termios, zlib) now use the stable ABI defined by PEP 384.

In addition, after the official version is released, it will receive full support within one year, and there will be security updates within 5 years. The release date of the Python 4.0 update has not yet been announced.

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *