Python 3.7.0

2018-06-28 09:26:29 +08:00
 PythonAnswer
Release Date: 2018-06-27

Python 3.7.0 is the newest major release of the Python language, and it contains many new features and optimizations.

Among the major new features in Python 3.7 are:

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.
Please see What ’ s New In Python 3.7 for more information.
6610 次点击
所在节点    Python
24 条回复
wzw
2018-06-28 09:54:32 +08:00
支持
tumbzzc
2018-06-28 10:02:26 +08:00
跟不上节奏啊,我还停留在 2.7
SuperMild
2018-06-28 10:03:20 +08:00
终于发布了!
pabupa
2018-06-28 10:16:30 +08:00
Japanese, French, and Korean......
ackfin01
2018-06-28 10:18:26 +08:00
有没有大佬给介绍一下
sagaxu
2018-06-28 10:22:44 +08:00
就是舍不得像 php7 那样优化下性能
chenqh
2018-06-28 11:01:52 +08:00
@sagaxu 我也想 python 有 php7 那么快。逃,
green15
2018-06-28 11:03:39 +08:00
我印象还停留在 2.7 和 3.6.N ……
看来 4.0 指日可待。
BingoXuan
2018-06-28 11:06:32 +08:00
Apple 自带的 python 还是 2.7
lolizeppelin
2018-06-28 11:10:38 +08:00
支持纳秒精度了 这挺好
lesterchen
2018-06-28 11:39:54 +08:00
还是没有中文,日韩都有了
enchilada2020
2018-06-28 11:46:52 +08:00
为毛日韩都有了还没有中文…
XIVN1987
2018-06-28 11:55:58 +08:00
感觉没有很吸引人的更新,,还是继续用 Py 3.6 吧!!
janxin
2018-06-28 12:04:39 +08:00
@XIVN1987 PEP-567 了解一下,以前都是需要引入第三方包的。PEP-557 特定场景下少写代码,还是可以的。性能大部分情况下比 3.6 好一些,尤其是大量调用的时候,官宣 20% faster
jjx
2018-06-28 12:10:18 +08:00
这个版本更新很有诚意的
SuperMild
2018-06-28 15:09:39 +08:00
Quoting Xiang Zhang about Chinese translations:

I have seen several groups trying to translate part of our official doc. But their efforts are disperse and quickly become lost because they are not organized to work towards a single common result and their results are hold anywhere on the Web and hard to find. An official one could help ease the pain.
lihongjie0209
2018-06-28 15:42:39 +08:00
等 centos7 淘汰了我就升级 python3
flyico
2018-06-28 17:46:24 +08:00
日韩英法
没有中文。。。
rogwan
2018-06-28 18:05:06 +08:00
3.6 版周边现在支持的都还不错,3.7 还要点时间
ryanking8215
2018-06-28 18:08:11 +08:00
@lihongjie0209 epel for el7 已经有 python3.6 了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/466459

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX