Python 3.6 Released!

2016-12-23 22:53:34 +08:00
 1stlulu

Python 3.6.0 is now available!

5192 次点击
所在节点    Python
27 条回复
a87150
2016-12-23 23:13:48 +08:00
改的好多,看了几条就懒得看了
Yinz
2016-12-23 23:17:24 +08:00
喜欢新的格式化字符串!
w55exp88lore123
2016-12-23 23:18:44 +08:00
good
strahe
2016-12-23 23:25:28 +08:00
欢迎楼下简述一下新特性
Haiwx
2016-12-24 00:23:10 +08:00
新的屁眼已经出现
aristotll
2016-12-24 00:24:57 +08:00
亮点貌似是 format string 和 dict 的性能提升
还有一个和 Java 类似的 1_000 写法..
hosiet
2016-12-24 00:34:58 +08:00
没人提 PEP 526 变量类型标注吗?可以大大方便静态语法检查
sagaxu
2016-12-24 07:17:09 +08:00
性能被 PHP7 完爆了, php8 还要引入 jit , Python 毫无动静啊
wwqgtxx
2016-12-24 10:21:40 +08:00
@sagaxu 早就有 pypy 支持 jit 了🙄
janxin
2016-12-24 10:34:28 +08:00
@sagaxu 虽然 php 是世界上最好的语言,你也得看看其他语言的发展呀…
janxin
2016-12-24 10:42:26 +08:00
asyncio 据说修了一个 io 慢的问题和热执行路径优化,号称提速 30%+,不过这个 patch3.5.3 下个月也会发布掉
guyskk
2016-12-24 11:59:45 +08:00
@janxin 求链接
guyskk
2016-12-24 12:31:53 +08:00
@janxin 找到了
Future and Task classes now have an optimized C implementation which makes asyncio code up to 30% faster. (Contributed by Yury Selivanov and INADA Naoki in issue 26081 and issue 28544.)
sagaxu
2016-12-24 12:46:28 +08:00
@wwqgtxx pypy 兼容性差了些,跟 php7 这种官方版不好比的
kikyous
2016-12-24 13:03:36 +08:00
向 ruby 看齐
Gandum
2016-12-24 13:50:55 +08:00
Windows filesystem and console encoding changed to UTF-8.
有没有 dalao 解释下
roist
2016-12-24 17:02:20 +08:00
@sagaxu 神之 php8
bonfy
2016-12-24 21:45:02 +08:00
其实我就想问 有老司机在 mac 上试过了么?

多个版本的 Python 怎么在 mac 上玩,还有就是 brew 可以装了么
janxin
2016-12-24 23:06:46 +08:00
@bonfy pyenv
Maic
2016-12-25 02:25:17 +08:00
@bonfy 可以装了,我还是今天重装系统的时候才知道 3.6 出来了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/329804

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX