指导委员会接受 PEP 634

原文: PyCoder's Weekly - Issue #459

pycoder

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

Python’s integer datatype is pretty different from most other languages because they allow arbitrary precision. Learn how integers work under the hood in this in-depth article.

Python has made some big improvements to tracebacks in recent versions. See how tracebacks have evolved over the last couple of major releases and where there’s still some work left to be done. Check out the discussion on Hacker News.

Learn how one team created Python bindings for a C++ library by implementing virtual functions in Cython. This article is a follow-up to an article we featured last year.

Testing software is hard. Property-based testing can help you create more effective tests. Learn how to do property-based testing with the hypothesis framework by looking at some real-world use cases.

(是也乎:

珢神?

不是那个 珢神...

)

Pattern matching, which adds a kind of switch-case statement to Python, has been accepted.

(是也乎:

PEP 的受理速度越来越快了

)

Get up to speed with Python dependency management quickly and go from “writing scripts” to “building applications” with this complete course.

(是也乎:

Virtualenv

)

探讨/吐糟

Discussions

“In 3.9, access to builtins and globals had sped-up considerably. In 3.10, regular attribute access and access to slots are also faster. Most everyday Python programs will benefit. This is a huge win.”

文章/教程/嗯哼

Articles, Tutorials and Talks

Installing Python on macOS with Homebrew is pretty easy, but it comes with some quirks that might not make it the best choice for your development environment. Learn why you might not want to install Python this way and how to fix some common issues you might encounter with Homebrew.

(是也乎:

Homebrew 毕竟是个人作品, 在 官方没有介入前, 只能说可用, 不应该作为生产环境.

)

Are you interested in building interactive dashboards with Python? How about a project that takes a flat data file all the way to a web-hosted interactive dashboard? This week on the show, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.

(是也乎:

podcast

)

Python is not the fastest language around, so any performance boost helps, especially if you’re running at scale. It turns out that depending where you install Python from, its performance can vary quite a bit: choosing the wrong version of Python can cut your speed by 10-20%.

(是也乎:

参考沈游侠的嗯哼, Python 快其实并不在运行时, 而是整个工程推进的速度哪.

)

Sometimes scikit-learn models can take a long time to train. In this article, you’ll explore three approaches to optimizing the model training process.

(是也乎:

调整参数之后...

)

Learn what inner functions are in Python, how to define them, and what their main use cases are.

(是也乎:

好就好在内建, 不用任何额外安装管理...

Inner

)

Learn how to build a Discord bot and host it on the DigitalOcean platform.

(是也乎:

Discord 是叕一个 Slack 竞品?

)

Learn how to use Qt Designer to create GUIs from your windows and dialogs and use them in your Python applications.

(是也乎:

Designer

其实, 真不如手写...

)

好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

本地私人知识仓库, 最大的问题就是难以跨屏哪...

一直以来各种折腾后, 发现 Apple 的备忘录竟然是个 MVP 私人知识仓库, 除了搜索不怎么灵之外.

)

(是也乎:

嗯哼? 这个结合 Supervisor 可是能真正拓展 Python 应用系统的鲁捧性哪.

)

(是也乎:

unicorn

嗯哼? 唯一不支持 Websockets 的框架?

)

(是也乎:

gdb 中单一功能模块化后 ,也很香.

)

(是也乎:

其实 | 就是天然管道装配器, 只是, 流水线调试起来太麻烦了...

)

📆🐍 活动/大会

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

(是也乎:

即便是线上的, 一样收费.

)

(是也乎:

Diamond

)

(是也乎:

反正很早都上 油管了, 随时可以 review, 当然, 这个随时, 随时了很多年都没刷光.

)

(是也乎:

DjangoCon

浪漫的欧洲? 这是要线下了?

)

DAMA

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

(是也乎:

独创 logging + debug 模块

)

(是也乎:

老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:

Bilibili

)

PS:


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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/大妈

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

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

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

NN 4285

RPP


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->