Python 3.12 目标发布 原文: PyCoder’s Weekly - Issue #544 pycoder

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


探讨/吐糟

Discussions


文章/教程/嗯哼

Articles, Tutorials and Talks

Multi-core Python 正式提出了… )

  • 某 Python 安全修复程序破坏了/一些 Bignums
    • JAKE EDGE 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.
  • 用 MkDocs 构建 Python 项目文档
    • REAL PYTHON
    • COURSE 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 声明; )
  • Pandas 向下转换以提高内存使用效率
    • PETROS DEMETRAKOPOULOS 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.
  • 什么时候在 Python 中使用省略号?
    • REAL PYTHON 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 … 竟然也是个标准语法了… )

  • Python中的元编程
    • IBM.COM “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 的用户论坛… )

  • 绩效测量的侵入性程序
    • ITAMAR TURNER-TRAURING 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.
  • 到底 name == “main” 在作什么?
    • REAL PYTHON 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. (是也乎: <strong>main</strong> 这梗太老… meme )
  • 嗯哼? Python 的 self Argument?
    • BETTERPROGRAMMING.PUB
    • • Shared by Martin Heinz 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


📆🐍 活动/大会

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


DAMA

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

  • Zoom.Quiet’s Chaos42 | Substack
    • 古早:新闻组式写作
    • 欢迎订阅 ACM-O (是也乎: 谈崩了, 之前通过 ACM 会员可以每年 $25 享受 O’REILLY 在线图书馆服务…现在没了 )

PS

PPS

不觉中蟒周刊快译已经到了第11个年头 开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了… 问为什么: [皱眉]每周新闻资讯 怎么能错过 看看有什么新东西 当有新的发现时: what f**k 还能这样玩? 还有这东西? 每周开彩蛋[吃瓜] 无法同意更多… 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.


好文笔,感叹号年度配额: 1/3 投稿/反馈邮箱: [email protected] (邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越…)

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

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)