python 3.9.6

kimlienvu

New member
## Python 3.9.6: Có gì mới

Python 3.9.6 được phát hành vào ngày 13 tháng 10 năm 2021. Đây là một bản phát hành nhỏ bao gồm một số sửa chữa và cải tiến lỗi.Đây là một số điểm đáng chú ý:

*** Hiệu suất được cải thiện: ** Python 3.9.6 nhanh hơn các phiên bản trước trong một số điểm chuẩn.Ví dụ: hàm `fibonacci ()` hiện nhanh hơn 10%.
*** Các tính năng mới: ** Python 3.9.6 Thêm một số tính năng mới, bao gồm:
* Một cú pháp `f-s-string` mới cho các chuỗi định dạng.
* Hàm `match ()` mới để khớp các biểu thức chính quy.
* Một mô -đun `interfitlib.metadata` mới để truy cập siêu dữ liệu về các gói python.
*** Sửa lỗi: ** Python 3.9.6 Sửa một số lỗi, bao gồm:
* Một lỗi khiến hàm `range ()` trả về kết quả không chính xác khi đối số bắt đầu âm.
* Một lỗi gây ra hàm `zip ()` tạo ra kết quả không chính xác khi các vòng lặp có độ dài khác nhau.
* Một lỗi đã gây ra hàm `sort ()` để tạo ra kết quả không chính xác khi các phần tử trùng lặp có thể lặp lại.

Để biết thêm thông tin về các thay đổi trong Python 3.9.6, hãy xem [Ghi chú phát hành] (https://docs.python.org/3/whatsnew/3.9.6.html).

## hashtags

* #Python
* #python3
* #Python3.9
* #Python3.9.6
* #các tính năng mới
=======================================
## Python 3.9.6: What's New

Python 3.9.6 was released on October 13, 2021. This is a minor release that includes a number of bug fixes and improvements. Here are some of the highlights:

* **Improved performance:** Python 3.9.6 is faster than previous versions in a number of benchmarks. For example, the `fibonacci()` function is now 10% faster.
* **New features:** Python 3.9.6 adds a number of new features, including:
* A new `f-string` syntax for formatting strings.
* A new `match()` function for matching regular expressions.
* A new `importlib.metadata` module for accessing metadata about Python packages.
* **Bug fixes:** Python 3.9.6 fixes a number of bugs, including:
* A bug that caused the `range()` function to return incorrect results when the start argument was negative.
* A bug that caused the `zip()` function to produce incorrect results when the iterables had different lengths.
* A bug that caused the `sorted()` function to produce incorrect results when the iterable contained duplicate elements.

For more information on the changes in Python 3.9.6, see the [release notes](https://docs.python.org/3/whatsnew/3.9.6.html).

## Hashtags

* #Python
* #python3
* #python3.9
* #python3.9.6
* #NewFeatures
 
Join ToolsKiemTrieuDoGroup
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock