美高梅官方网站66159

详细改进内容,3.3 主要的改进记录包括

作者:新闻公告    来源:未知    发布时间:2020-04-29 14:40    浏览量:

Python 公布了 3.3.0 首个 beta 版本,该版本包罗了 3.x 类别的大队人马更改内容,首要不外乎:

Python 3.3 发表了,该版本包罗大批量的校正,同期也可惠及的从 2.x 移植到 3.x,3.3 首要的校正记录饱含:

Python 3.4.0 beta 2 公布,此版本包罗对 3.x 体系的改革和有些小的 bug 修复。Python 3.4 现在是“效能冻结”状态,也就代表不会增多新天性,最后版本猜测最迟在 二零一四年 2 月公布。

* PEP 380, syntax for delegating to a subgenerator ("yield from")
* PEP 393, flexible string representation (doing away with the distinction between "wide" and "narrow" Unicode builds)
* A C implementation of the "decimal" module, with up to 80x speedup for decimal-heavy applications
* The import system (__import__) now based on importlib by default
* The new "lzma" module with LZMA/XZ support
* PEP 397, a Python launcher for Windows
* PEP 405, virtual environment support in core
* PEP 420, namespace package support
* PEP 3151, reworking the OS and IO exception hierarchy
* PEP 3155, qualified name for classes and functions
* PEP 409, suppressing exception context
* PEP 414, explicit Unicode literals to help with porting
* PEP 418, extended platform-independent clocks in the "time" module
* PEP 412, a new key-sharing dictionary implementation that
   significantly saves memory for object-oriented code
* PEP 362, the function-signature object
* The new "faulthandler" module that helps diagnosing crashes
* The new "unittest.mock" module
* The new "ipaddress" module
* The "sys.implementation" attribute
* A policy framework for the email package, with a provisional (see PEP 411) policy that adds much improved unicode support for email header parsing
* A "collections.ChainMap" class for linking mappings to a single unit
* Wrappers for many more POSIX functions in the "os" and "signal" modules, as well as other useful functions such as "sendfile()"
* Hash randomization, introduced in earlier bugfix releases, is now switched on by default

  • PEP 380, syntax for delegating to a subgenerator (yield from)
  • PEP 393, flexible string representation (doing away with the distinction between "wide" and "narrow" Unicode builds)
  • A C implementation of the "decimal" module, with up to 80x speedup for decimal-heavy applications
  • The import system (__import__) is based on importlib by default
  • The new "lzma" module with LZMA/XZ support
  • PEP 405, virtual environment support in core
  • PEP 420, namespace package support
  • PEP 3151, reworking the OS and IO exception hierarchy
  • PEP 3155, qualified name for classes and functions
  • PEP 409, suppressing exception context
  • PEP 414, explicit Unicode literals to help with porting
  • PEP 418, extended platform-independent clocks in the "time" module
  • PEP 412, a new key-sharing dictionary implementation that significantly saves memory for object-oriented code
  • The new "faulthandler" module that helps diagnosing crashes
  • The new "unittest.mock" module
  • The new "ipaddress" module
  • A "collections.ChainMap" class for linking mappings to a single unit
  • Wrappers for many more POSIX functions in the "os" and "signal" modules, as well as other useful functions such as "sendfile()"
  • Hash randomization, introduced in earlier bugfix releases, is now switched on by default

重大更新内容如下:

详尽改过内容:
    

  • 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

下载地址:
    

有关能源:

(文/开源中黄炎子孙民共和国State of Qatar    

  • Online Documentation

  • 3.4 Release Schedule

  • Report bugs at .

  • Help fund Python and its community.

下载地址:

  • Bzipped source tar ball (3.4.0b2) (sig), ~ 14 MB

  • XZ compressed source tar ball (3.4.0b2)(sig), ~ 12 MB

  • Gzipped source tar ball (3.4.0b2) (sig), ~ 16 MB

  • Windows x86 MSI Installer (3.4.0b2) (sig) and Visual Studio debug information files (sig)

  • Windows X86-64 MSI Installer (3.4.0b2)[1] (sig) and Visual Studio debug information files (sig)

  • Windows help file (sig)

  • Mac OS X 64-bit/32-bit Installer (3.4.0b2) for Mac OS X 10.6 and later [2] (sig). [You may need an updated Tcl/Tk install to run IDLE or use Tkinter, see note 2 for instructions.]

  • Mac OS X 32-bit i386/PPC Installer (3.4.0b2) for Mac OS X 10.5 and later [2] (sig)

(文/开源中夏族民共和国卡塔尔    

下一篇:没有了

更多新闻推荐

Copyright © 2015-2019 http://www.77zhth.net. 美高梅官方网站66159有限公司 版权所有