1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Python 3.5.5rc1 和 Python 3.4.8rc1 发布 下载

Discussion in '软件资讯' started by 漂亮的石头, 2018-02-02.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    488,119
    Likes Received:
    47
    Python 3.5.5rc1 和 Python 3.4.8rc1 发布了。主要更新内容如下:

    Python 3.5.5rc1


    • PEP 441, improved Python zip application support


    • PEP 448, additional unpacking generalizations


    • PEP 461, "%-formatting" for bytes and bytearray objects


    • PEP 465, a new operator (@) for matrix multiplication


    • PEP 471, os.scandir(), a fast new directory traversal function


    • PEP 475, adding support for automatic retries of interrupted system calls


    • PEP 479, change StopIteration handling inside generators


    • PEP 484, the typing module, a new standard for type annotations


    • PEP 485, math.isclose(), a function for testing approximate equality


    • PEP 486, making the Windows Python launcher aware of virtual environments


    • PEP 488, eliminating .pyo files


    • PEP 489, a new and improved mechanism for loading extension modules


    • PEP 492, coroutines with async and await syntax

    Python 3.4.8rc1


    • PEP 428, a "pathlib" module providing object-oriented filesystem paths


    • PEP 435, a standardized "enum" module


    • PEP 436, a build enhancement that will help generate introspection information for builtins


    • PEP 442, improved semantics for object finalization


    • PEP 443, adding single-dispatch generic functions to the standard library


    • PEP 445, a new C API for implementing custom memory allocators


    • PEP 446, changing file descriptors to not be inherited by default in subprocesses


    • PEP 450, a new "statistics" module


    • PEP 451, standardizing module metadata for Python's module import system


    • PEP 453, a bundled installer for the pip package manager


    • PEP 454, a new "tracemalloc" module for tracing Python memory allocations


    • PEP 456, a new hash algorithm for Python strings and binary data


    • PEP 3154, a new and improved protocol for pickled objects


    • PEP 3156, a new "asyncio" module, a new framework for asynchronous I/O

    详情及下载地址:

    Python 3.5.5rc1 和 Python 3.4.8rc1 发布下载地址
     
Loading...