Python 3.11 发布可能被延迟

原文: PyCoder's Weekly - Issue #533

pycoder

  • 220713 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
  • 220713 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

Python 3.11 will be released in the fall of 2022. In this tutorial, you’ll install the latest beta release of Python 3.11 in order to preview the new tomllib module that’s added to the standard library. You’ll also explore some of the static typing enhancements that are coming.

(是也乎:

淦...看来 TOML 是真的立住了

tomllib

)

In this two-part article series, you’ll learn how to build a Progressive Web Application (and a fun trivia game) with Django and the Django Rest Framework for the backend API, and Angular for the frontend interface.

(是也乎:

Angular 嗯哼...上古神品

)

When applying runtime constraints on a value a common practice is to compare the value to an expected range and raise a ValueError if it’s not within the range. This article argues for the use of assert instead.

(是也乎:

相比传统的 if , assert 更加简练

)


探讨/吐糟

Discussions


文章/教程/嗯哼

Articles, Tutorials and Talks

“Functional programming (FP) provides many advantages, and its popularity has been increasing as a result. However, each programming paradigm comes with its own unique jargon and FP is no exception. By providing a glossary, we hope to make learning FP easier.”

(是也乎:

Jargon

这词儿的梗太多了...

shfshanyue/fp-jargon-zh: 函数式编程术语及示例。本项目译自 https://github.com/hemanth/functional-programming-jargon

已经有中文翻译了...

)

Employees at Twilio blog a lot and have an internal Python application that showed a dashboard about topics and their popularity. As the number of bloggers and hits grew, the dashboard needed to keep pace.This article discusses how they measured whether to go from SQLite to PostgreSQL for performance reasons and the decision they finally arrived at.

(是也乎:

嗯哼? 不是, 这两种数据库拿在一起比较的意思是... 没有测试前, 一切都是偏见...

)

Django 4 introduced the capability of rendering forms based on the template engine. You can now specify how base forms are built by overriding a template. The current beta of Django 4.1 has also introduced this power at the widget level. Learn about the changes in this article.

If you’ve ever wondered how to simplify complex conditionals by determining if at least one in a series of conditions is true, then look no further. This video course will teach you all about how to use any() in Python to do just that.

(是也乎:

any )

This is a collection of materials that are useful for coders, no matter their skill level. Topics covered include algorithms, data structures, data types, latency, memory, distributed systems, security, and much more.

(是也乎:

5.8+万星了... 果然这种资料汇集的项目更加容易高赞...

)

In this video course, you’ll learn how Python’s and operator works and how to use it in your code. You’ll get to know its special features and see what kind of programming problems you can solve by using and in Python.

(是也乎:

Operator

真蟒 已经有了自己完备的课程系统, 每一节都有示例和幻灯下载...

)

Learn all about the indexing and slicing of lists in Python, including: negative indexes, enumeration, slices, steps in slices, and more. Includes eight exercises to practice your slicing skills.

(是也乎:

以练习的方式来快速掌握基本知识点...

)

Using simple data structures is an important part of keeping it simple, and Python is all about simplicity. Less code is less problems. Just use dictionaries, you probably don’t need classes.

Python is very flexible, but with that flexibility also comes the potential for making bad decisions. This opinionated article discusses naming and the structuring of code.

(是也乎:

老问题了...好象彻底解决这个问题的语言不多... 也都有脚手架工具, 最终, 还是看项目规约, 或是心情了...

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

UXF ? 和 t2t 类似, 叕一种被 md 全面替代的结构化文本...

)

(是也乎:

简单也不简单, 以前见过一拉准教授, 直接用 py 调用一个第三方专用软件, 但是, 将整个儿过程, 用 py 包装成一个独立 windows 软件, 就拿出来卖銭了... 居然买的人不少...

)

(是也乎:

嗯哼? 实用哪, 以往都是看运气...

)

(是也乎:

叕一个多语言代码静态分析器, 所以, PL 是一通百通的技艺哪...

)


📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心


DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

ACM-O

(是也乎:

谈崩了, 之前通过 ACM 会员可以每年 $25 享受 O'REILLY 在线图书馆服务...现在没了

)


PS:

PPS:

不觉中蟒周刊快译已经到了第11个年头

开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了...

问为什么:

[皱眉]每周新闻资讯 怎么能错过 
看看有什么新东西 
当有新的发现时:
    what f**k 还能这样玩? 还有这东西?
    每周开彩蛋[吃瓜]

无法同意更多... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.


好文笔,感叹号年度配额: 1/3

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->