Python 3.3 蓝图设计

6

我想了解Python 3.3将会有哪些语言变更(无需订阅开发者邮件列表并监控消息流)。

我在python.org上找到了这个页面,但我想知道是否有其他的参考资料,其他程序员会推荐什么。


2
凭借4670的声望,我不相信“谷歌技能找不到它”这样的说法。 - user2665694
1
即使他可以轻松地通过谷歌搜索到答案,这仍然是一个有效的问题。 - cfi
4个回答

6

PEP 398列出了一些可能包含在3.3中的功能:

Candidate PEPs:

PEP 362: Function Signature Object
PEP 380: Syntax for Delegating to a Subgenerator
PEP 382: Namespace Packages
PEP 393: Flexible String Representation
PEP 395: Module Aliasing
PEP 397: Python launcher for Windows
PEP 3143: Standard daemon process library
PEP 3151: Reworking the OS and IO exception hierarchy

(Note that these are not accepted yet and even if they are, they might not be finished in time for Python 3.3.)

Other planned large-scale changes:

Addition of the "packaging" module, replacing "distutils"
Implementing __import__ using importlib
Email version 6
A standard event-loop interface (PEP by Jim Fulton pending)
Adding the faulthandler module.
Breaking out standard library and docs in separate repos?
A PEP on supplementing C modules with equivalent Python modules?

6

PEP 398列出了可能会被加入Python 3.3的PEPs。

本文档描述了Python 3.3的开发和发布时间表。时间表主要涉及PEP级别的内容。小型功能可以在第一个beta版本之前甚至包括其后添加。漏洞可以修复直到最终发布,计划在2012年8月发布。


2
我录制了一段7分钟的屏幕演示视频Python 3.3有什么新特性,它基于Python文档中的"What's New"章节。 编辑:尽管这个屏幕演示的主要焦点是Python 3.3,但其中包含了PyCharm IDE的推广元素。

2
应该提醒大家,链接的视频明显旨在推广JetBrains的Python编辑器PyCharm。话虽如此,这个视频确实以简洁有效的方式展示了Python 3.3的一些新特性。我给它点赞。 :) - mac

0

查看在http://planet.python.org/上汇总的博客文章

如果你对“如何”和“为什么”比“什么”更感兴趣,那么在3.3开发项目中关于Email 6、导入和其他方面有许多有趣的帖子。


这对于那些不想订阅主要开发邮件列表的人来说,需要浏览很多博客文章。 - tshepang

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接