Python 3.5 正式发布,此版本主要改进如下: 新语法特性 新库模块 新内置特性 bytes % args, bytearray % args: PEP 461 –
添加 % 格式化字节和字节数组 b'\xf0\x9f\x90\x8d'.hex(), bytearray(b'\xf0\x9f\x90\x8d').hex(),memoryview(b'\xf0\x9f\x90\x8d').hex(): issue 9951 - 添加 hex 模块 memoryview 支持 tuple indexing (including multi-dimensional).
(Contributed by Antoine Pitrou in issue 23632.) Generators 添加了新 gi_yieldfrom 属性(Contributed
by Benno Leslie and Yury Selivanov in issue 24450.) 新 RecursionError 异常 (Contributed by Georg Brandl
in issue 19235.)
CPython 实现改进
标准库值得关注的改进 安全改进 Windows 改进: 更多内容请看新特性介绍页面和发行说明。 下载:https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz
|