TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Python 3.4 Beta 1 Released

89 点作者 alxv超过 11 年前

4 条评论

taylorfausak超过 11 年前
Wow, I haven&#x27;t heard of pathlib [1] before now, but it looks awesome! In particular, using the slash operator to join paths is brilliant.<p><pre><code> &gt;&gt;&gt; p = PurePath(&#x27;&#x2F;etc&#x27;) &gt;&gt;&gt; p &#x2F; &#x27;init.d&#x27; &#x2F; &#x27;apache2&#x27; PurePosixPath(&#x27;&#x2F;etc&#x2F;init.d&#x2F;apache2&#x27;) </code></pre> [1]: <a href="http://docs.python.org/3.4/library/pathlib.html" rel="nofollow">http:&#x2F;&#x2F;docs.python.org&#x2F;3.4&#x2F;library&#x2F;pathlib.html</a>
评论 #6792209 未加载
评论 #6793277 未加载
评论 #6792254 未加载
评论 #6792206 未加载
评论 #6792477 未加载
评论 #6792990 未加载
评论 #6793681 未加载
computerhead超过 11 年前
Been using python for 7+ years now. Does everyone really think people are willing to adopt 3.x anything...? The reality of it is every place I have worked (and currently working at). Is bound by 3rd party tools and what ever interpreter they built against. Mostly that 2.6,2.7 right now. And it does not look like anyone will be switching anytime soon.<p>Features look great, cant wait to &quot;play&quot; with them. But that;s about all. Play.
评论 #6792958 未加载
评论 #6792988 未加载
评论 #6792884 未加载
评论 #6793108 未加载
评论 #6793532 未加载
评论 #6794241 未加载
评论 #6793910 未加载
makmanalp超过 11 年前
&gt; a new C API for implementing custom memory allocators<p>Wow. This&#x27;ll lead to some interesting hacks, I think.
评论 #6793875 未加载
评论 #6795460 未加载
the1超过 11 年前
isn&#x27;t 2.7 the best python still because twisted?
评论 #6793944 未加载