V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
PythonAnswer
V2EX  ›  Python

Python 3.7.0

  •  
  •   PythonAnswer · 2018-06-28 09:26:29 +08:00 · 6736 次点击
    这是一个创建于 2341 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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.
    24 条回复    2018-07-01 10:46:02 +08:00
    wzw
        1
    wzw  
       2018-06-28 09:54:32 +08:00 via iPhone
    支持
    tumbzzc
        2
    tumbzzc  
       2018-06-28 10:02:26 +08:00
    跟不上节奏啊,我还停留在 2.7
    SuperMild
        3
    SuperMild  
       2018-06-28 10:03:20 +08:00
    终于发布了!
    pabupa
        4
    pabupa  
       2018-06-28 10:16:30 +08:00
    Japanese, French, and Korean......
    ackfin01
        5
    ackfin01  
       2018-06-28 10:18:26 +08:00
    有没有大佬给介绍一下
    sagaxu
        6
    sagaxu  
       2018-06-28 10:22:44 +08:00 via Android   ❤️ 1
    就是舍不得像 php7 那样优化下性能
    chenqh
        7
    chenqh  
       2018-06-28 11:01:52 +08:00
    @sagaxu 我也想 python 有 php7 那么快。逃,
    green15
        8
    green15  
       2018-06-28 11:03:39 +08:00 via iPhone
    我印象还停留在 2.7 和 3.6.N ……
    看来 4.0 指日可待。
    BingoXuan
        9
    BingoXuan  
       2018-06-28 11:06:32 +08:00 via Android
    Apple 自带的 python 还是 2.7
    lolizeppelin
        10
    lolizeppelin  
       2018-06-28 11:10:38 +08:00
    支持纳秒精度了 这挺好
    lesterchen
        11
    lesterchen  
       2018-06-28 11:39:54 +08:00
    还是没有中文,日韩都有了
    enchilada2020
        12
    enchilada2020  
       2018-06-28 11:46:52 +08:00 via Android
    为毛日韩都有了还没有中文…
    XIVN1987
        13
    XIVN1987  
       2018-06-28 11:55:58 +08:00
    感觉没有很吸引人的更新,,还是继续用 Py 3.6 吧!!
    janxin
        14
    janxin  
       2018-06-28 12:04:39 +08:00
    @XIVN1987 PEP-567 了解一下,以前都是需要引入第三方包的。PEP-557 特定场景下少写代码,还是可以的。性能大部分情况下比 3.6 好一些,尤其是大量调用的时候,官宣 20% faster
    jjx
        15
    jjx  
       2018-06-28 12:10:18 +08:00
    这个版本更新很有诚意的
    SuperMild
        16
    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
        17
    lihongjie0209  
       2018-06-28 15:42:39 +08:00
    等 centos7 淘汰了我就升级 python3
    flyico
        18
    flyico  
       2018-06-28 17:46:24 +08:00
    日韩英法
    没有中文。。。
    rogwan
        19
    rogwan  
       2018-06-28 18:05:06 +08:00 via iPhone
    3.6 版周边现在支持的都还不错,3.7 还要点时间
    ryanking8215
        20
    ryanking8215  
       2018-06-28 18:08:11 +08:00
    @lihongjie0209 epel for el7 已经有 python3.6 了
    Trim21
        21
    Trim21  
       2018-06-28 18:13:01 +08:00 via Android
    字典有序确定下来了…是不是该加一个 sort 方法了
    hareandlion
        22
    hareandlion  
       2018-06-28 19:09:07 +08:00 via Android
    在进步啊
    xuegj1010
        23
    xuegj1010  
       2018-06-29 09:33:44 +08:00
    @lesterchen 中文比较难
    omg21
        24
    omg21  
       2018-07-01 10:46:02 +08:00
    难道韩国的 py 用户比我们还多?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2681 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 04:12 · PVG 12:12 · LAX 20:12 · JFK 23:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.