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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

It's time to stop using Python 3.8

5 点作者 itamarst8 个月前

2 条评论

zahlman8 个月前
&gt; If you’re still on Python 3.8 in 2024, that is a symptom you are suffering from an organizational problem, and it’s likely you have other important upgrades that you’ve been putting off. So your next step should be setting up an ongoing process to update your dependencies regularly.<p>It&#x27;s painful to read this. I agree, but Python devs <i>hate</i> churn to an extent that seems to have traumatized core devs and major project maintainers and make them act like their hands are tied by backwards compatibility concerns. This is, after all, the same language where Python 3.0 was announced April 2006 and released December 2008, and we didn&#x27;t see the last 2.x release until April 2020 (and this is after it had been publicized for years that there would be no more releases after Jan 1 2020, which was in turn giving the 2.7 branch an extended lifetime). And even then, you can find people in 2024 pining for the old version and complaining about supposed design mistakes like &quot;maybe it&#x27;s bad to treat byte-sequences like strings implicitly without declaring a text encoding, in the language that asserts that explicit is better than implicit, leading to users having to check Stack Overflow to understand why they got a UnicodeDecodeError from trying to encode or vice-versa&quot;, or &quot;maybe we shouldn&#x27;t teach brand new programmers, on the first day, to put an unintentional arbitrary code execution exploit into their programs and not tell them about it&quot;. Even granting that 3.x has broad acceptance now, one of the better known Python book authors from the old days (Mark Lutz) has a webpage dedicated to the argument that basically every major feature added after 3.4 is a step backwards.
mac3n8 个月前
so what&#x27;s been added since that i would want?
评论 #41540445 未加载
评论 #41534363 未加载
评论 #41534957 未加载