TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Python 3.4 Beta 1 Released

89 pointsby alxvover 11 years ago

4 comments

taylorfausakover 11 years ago
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 未加载
computerheadover 11 years ago
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 未加载
makmanalpover 11 years ago
&gt; a new C API for implementing custom memory allocators<p>Wow. This&#x27;ll lead to some interesting hacks, I think.
评论 #6793875 未加载
评论 #6795460 未加载
the1over 11 years ago
isn&#x27;t 2.7 the best python still because twisted?
评论 #6793944 未加载