Python 3.5b1 已经发布,Python 3.5 正式版已经不远啦!Python 3.5 相比 Python 3.4 详细改进请看 Misc/NEWS。
Python 3.5 发布计划:
- 3.5.0 alpha 1: February 8, 2015
- 3.5.0 alpha 2: March 9, 2015
- 3.5.0 alpha 3: March 29, 2015
- 3.5.0 alpha 4: April 19, 2015
- 3.5.0 beta 1: May 24, 2015
- 3.5.0 beta 2: May 31, 2015
- 3.5.0 beta 3: July 5, 2015
- 3.5.0 beta 4: July 26, 2015
- 3.5.0 candidate 1: August 9, 2015
- 3.5.0 candidate 2: August 23, 2015
- 3.5.0 candidate 3: September 6, 2015
- 3.5.0 final: September 13, 2015
(Beta 1 已经是 "feature freeze" 状态,往后版本不会再添加新特性)
值得关注的新特性
新语法特性:
新模块:
新内置特性:
-
bytes % args, bytearray % args: PEP 461 - Adding % formatting to bytes and bytearray
-
b'\xf0\x9f\x90\x8d'.hex(), bytearray(b'\xf0\x9f\x90\x8d').hex(),memoryview(b'\xf0\x9f\x90\x8d').hex(): issue 9951 - A hex method has been added to bytes, bytearray, and memoryview.
改进:
-
When the LC_TYPE locale is the POSIX locale (C locale),sys.stdin and sys.stdout are now using thesurrogateescape error handler, instead of the strict error handler (issue 19977).
-
PEP 488, the elimination of .pyo files.
-
PEP 489, multi-phase initialization of extension modules.
值得关注的库模块改进:
-
collections.OrderedDict 已经用 C 实现
-
可以传递字节到 tempfile 模块的 API,然后返回字节的临时路径名而不是 str 的临时路径名
Python 3.5 详细改进说明请看这里。
无需操作系统直接运行 Python 代码 http://www.linuxidc.com/Linux/2015-05/117357.htm
CentOS上源码安装Python3.4 http://www.linuxidc.com/Linux/2015-01/111870.htm
《Python核心编程 第二版》.(Wesley J. Chun ).[高清PDF中文版] http://www.linuxidc.com/Linux/2013-06/85425.htm
《Python开发技术详解》.( 周伟,宗杰).[高清PDF扫描版+随书视频+代码] http://www.linuxidc.com/Linux/2013-11/92693.htm
Python脚本获取Linux系统信息 http://www.linuxidc.com/Linux/2013-08/88531.htm
在Ubuntu下用Python搭建桌面算法交易研究环境 http://www.linuxidc.com/Linux/2013-11/92534.htm
Python 语言的发展简史 http://www.linuxidc.com/Linux/2014-09/107206.htm
Python 的详细介绍:请点这里
Python 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-07/119641.htm
