24 април, 2024

Докато хората спорят дали са важни скриптовите езици, Python продължава да е един от най-популярните езици за програмиране. Новото е, че 3.7.8 ще излезе на 27 юли 2020 г. и ще бъде може би най-стабилната версия от последния ъпдейт.

Анотациите могат да използват само имена, които вече са налични в текущия обхват, с други думи те не поддържат препратки от всякакъв вид. Също така анотирането на source код има неблагоприятни ефекти върху времето за стартиране на програмите на Python. Бъговете вече са поправени.

Сред основните функции на Python 3.7 са:

PEP 539, new C API for thread-local storage
PEP 545, Python documentation translations
New documentation translations: Japanese, French, and Korean.
PEP 552, Deterministic pyc files
PEP 553, Built-in breakpoint()
PEP 557, Data Classes
PEP 560, Core support for typing module and generic types
PEP 562, Customization of access to module attributes
PEP 563, Postponed evaluation of annotations
PEP 564, Time functions with nanosecond resolution
PEP 565, Improved DeprecationWarning handling
PEP 567, Context Variables
Avoiding the use of ASCII as a default text encoding (PEP 538, legacy C locale coercion and PEP 540, forced UTF-8 runtime mode)
The insertion-order preservation nature of dict objects is now an official part of the Python language spec.
Notable performance improvements in many areas.

Пълната документация на 3.7.4 ще намерите тук.

Тагове: ,