Python 3.10 version adopts first PEP, Chinese translation coming soon

There are still 3 months before the final version of Python 3.9.0, and the official timeline is:

> 3.9.0 beta 4: Monday, 2020-06-29 > > 3.9.0 beta 5: Monday, 2020-07-20 > > 3.9.0 candidate 1: Monday, 2020-08-10 > > 3.9.0 candidate 2: Monday, 2020-09-14 > > 3.9.0 final: Monday, 2020-10-05

See PEP-596 for details

This actually means that the first alpha version of Python 3.10 is almost here - as it will be released along with the final version of 3.9.0!

Some readers have asked if the next version is 4.0, or mistakenly thought that the next version is 4.0, and worried that there will be a situation of incompatibility between 2 and 3 large versions again. In fact, the official news has already come out, and the next version will only be 3.10, which is a small version of the feature upgrade.

Python adopts the semantic versioning (Semantic Versioning) naming style, which is " major version number. minor version number. revision number ". In the foreseeable future, the major version number will remain 3, and continue to 3.11, 3.12 and so on. ...

At the end of last month (that is, on May 25), Python officially announced the release plan of version 3.10:

For details, see: https://www.python.org/dev/peps/pep-0619/

Not only that, but in mid-June, the first official PEP for version 3.10 was adopted. Title: PEP-618 Add Optional Length-Checking To zip

The zip built-in function is very useful. It is usually used to spell two sequences into tuples. The process is like pulling the two sides together with a zipper, so it is also called "zipper function".

In short, PEP-618 will add an optional parameter to the zip function, which is convenient for exception handling when the sequences on both sides of the zip are not of equal length. For more details, see the PEP documentation.

Its Chinese translation is in full swing and is expected to be released within two days.

After the translation, I will publish it on the Python cat official account, and archive it in the PEP Chinese translation plan , so please look forward to it.

In addition to this adopted PEP, there are several PEPs that have caused extensive discussions in the community. For example, the domestic Huamang community mail group is discussing PEP-622 these days , as well as PEP-620, PEP-621, PEP -623 These similarly numbered proposals are in the draft stage, and a second adopted PEP is expected soon.

According to the development of version 3.9.0, it finally adopted 7 PEPs, see " Introduction to 7 PEPs for Python 3.9 " for details .

So, how many PEPs will be introduced in version 3.10? Python cat will continue to pay attention and try to translate the latest PEP as soon as possible. If you are also interested, please pay attention to the PEP Chinese translation plan I released on Github .

It is recommended to read the latest feature interpretation of version 3.9:

New in Python 3.9: Arbitrary expressions can be used as decorators!

Python 3.9 performance optimization: faster built-in types like list(), dict(), and range()

Python 3.9 beta2 release, what are these 7 new PEPs?

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324109395&siteId=291194637