Python 3.12 目标发布

原文: PyCoder's Weekly - Issue #544

pycoder

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

Are you interested in using Python in an industry outside of software development? Would adding a few custom software tools increase efficiency and make your coworkers’ jobs easier? This week on the show, Josh Burnett talks about using Python as a mechanical engineer.

(是也乎:

Non-Developers

)

Learn about alternatives to Heroku and their pros and cons. Platforms discussed include Digital Ocean, Google App Engine, AWS, Azure, PythonAnywhere, and half a dozen more.

(是也乎:

Heroku 实在构造的太方便了, 除非官方作死, 否则, 很难上手后迁移...

)

This in-depth, seven-part article covers all the ins-and-outs of getting Django running on Kubernetes in a Docker container.

(是也乎:

随着Python 本身的加速, Pandas 也将越来越快...

)

(是也乎:

元宇宙基础计算...

)


探讨/吐糟

Discussions

(是也乎:

老程序猿曰...

)


文章/教程/嗯哼

Articles, Tutorials and Talks

A summary of the goals for the Faster CPython initiative within the Python 3.12 release. Includes trace optimizations, shrinking object sizes, improving memory management overhead, and more. See also the associated Workflow for 3.12 cycle checklist.

(是也乎:

Multi-core Python

正式提出了...

)

It was recently discovered that certain conversions between int and str had a denial of service capability. This was patched, but the patch itself has broken some use cases. Read on to learn more.

In this video course, you’ll learn how to build professional documentation for a Python package using MkDocs and mkdocstrings. These tools allow you to generate nice-looking and modern documentation from Markdown files and, more importantly, from your code’s docstrings.

(是也乎:

MkDocs

MkDocs 最大的好处就是不用在每篇文档顶部追加一堆 meta 声明;

)

When storing information in a Pandas DataFrame, you have control over what format it takes. In some cases, casting your data into a different format can make a big different on your memory footprint. Read on for three tips that may shrink your DataFrames.

You may have seen three dots in Python scripts. Although this syntax may look odd, using an ellipsis is valid Python code. In this tutorial, you’ll learn when Python’s Ellipsis constant can come in handy for you.

(是也乎:

Ellipsis

Ellipsis ...

竟然也是个标准语法了...

)

“Just like metadata is data about data, meta-programming is writing programs that manipulate programs.” Learn about the structures used to do meta-programming in Python and common use cases.

(是也乎:

developer.ibm.com

嗯哼, 当年 Python 唯一咨询富集地(有中文), 另外一个就是 ActivePython 的用户论坛...

)

Go beyond the capabilities of profilers by instrumenting your code to get more detailed performance information. This article shows several Python based techniques for measuring your speed.

In this tutorial, you’ll learn all about Python’s name-main idiom. You’ll learn what it does in Python, how it works, when to use it, when to avoid it, and how to refer to it.

(是也乎:

__main__

这梗太老...

meme

)

Do you really know what the self method argument is in Python? Learn how it works under the covers and why it is needed in method signatures.

(是也乎:

self 这个迷惑性自指, 如果关注就会越陷深

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

嗯哼? 很早推荐过...

rocketry

不能毫秒级控制... )

(是也乎:

Slack 生态实在是赞...

)


📆🐍 活动/大会

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
-->