V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · Jun 28, 2018 · 7346 views
    This topic created in 2864 days ago, the information mentioned may be changed or developed.
    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 replies    2018-07-01 10:46:02 +08:00
    wzw
        1
    wzw  
       Jun 28, 2018 via iPhone
    支持
    TKKONE
        2
    TKKONE  
    PRO
       Jun 28, 2018
    跟不上节奏啊,我还停留在 2.7
    SuperMild
        3
    SuperMild  
       Jun 28, 2018
    终于发布了!
    pabupa
        4
    pabupa  
       Jun 28, 2018
    Japanese, French, and Korean......
    ackfin01
        5
    ackfin01  
       Jun 28, 2018
    有没有大佬给介绍一下
    sagaxu
        6
    sagaxu  
       Jun 28, 2018 via Android   ❤️ 1
    就是舍不得像 php7 那样优化下性能
    simple2025
        7
    simple2025  
       Jun 28, 2018
    @sagaxu 我也想 python 有 php7 那么快。逃,
    green15
        8
    green15  
       Jun 28, 2018 via iPhone
    我印象还停留在 2.7 和 3.6.N ……
    看来 4.0 指日可待。
    BingoXuan
        9
    BingoXuan  
       Jun 28, 2018 via Android
    Apple 自带的 python 还是 2.7
    lolizeppelin
        10
    lolizeppelin  
       Jun 28, 2018
    支持纳秒精度了 这挺好
    lesterchen
        11
    lesterchen  
       Jun 28, 2018
    还是没有中文,日韩都有了
    KMpAn8Obw1QhPoEP
        12
    KMpAn8Obw1QhPoEP  
       Jun 28, 2018 via Android
    为毛日韩都有了还没有中文…
    XIVN1987
        13
    XIVN1987  
       Jun 28, 2018
    感觉没有很吸引人的更新,,还是继续用 Py 3.6 吧!!
    janxin
        14
    janxin  
       Jun 28, 2018
    @XIVN1987 PEP-567 了解一下,以前都是需要引入第三方包的。PEP-557 特定场景下少写代码,还是可以的。性能大部分情况下比 3.6 好一些,尤其是大量调用的时候,官宣 20% faster
    jjx
        15
    jjx  
       Jun 28, 2018
    这个版本更新很有诚意的
    SuperMild
        16
    SuperMild  
       Jun 28, 2018
    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  
       Jun 28, 2018
    等 centos7 淘汰了我就升级 python3
    flyico
        18
    flyico  
       Jun 28, 2018
    日韩英法
    没有中文。。。
    rogwan
        19
    rogwan  
       Jun 28, 2018 via iPhone
    3.6 版周边现在支持的都还不错,3.7 还要点时间
    ryanking8215
        20
    ryanking8215  
       Jun 28, 2018
    @lihongjie0209 epel for el7 已经有 python3.6 了
    Trim21
        21
    Trim21  
       Jun 28, 2018 via Android
    字典有序确定下来了…是不是该加一个 sort 方法了
    hareandlion
        22
    hareandlion  
       Jun 28, 2018 via Android
    在进步啊
    xuegj1010
        23
    xuegj1010  
       Jun 29, 2018
    @lesterchen 中文比较难
    omg21
        24
    omg21  
       Jul 1, 2018
    难道韩国的 py 用户比我们还多?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2515 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 132ms · UTC 05:48 · PVG 13:48 · LAX 22:48 · JFK 01:48
    ♥ Do have faith in what you're doing.