pythonista-weekly : Pyw 499

欢迎阅读《pythonista周刊》第499期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-499 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Get Your Weekly Dose of Programming A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free 新闻 PyConline AU 2021 CFP 我们正在寻找一切与 Python、开源和技术相关的讲座。只要是。Python 社区中的某个人、某个人感兴趣的,我们就会感兴趣。 PEP 659 – Specializing Adaptive Interpreter 本 PEP。建议使用一个专门的、自适应的解释器,该解释器对代码进行积极的专业化处理,但只在很小的区域内进行,并且能够以较低的成本迅速调整错误的专业化处理。在 CPython。中增加一个专门的、自适应的解释器将带来显著的性能改进。 ...

2021-05-14 · 3 min · 1501 words · ZoomQuiet

Issue 472

Github 中那些最佳实践+良好架构的项目 原文: PyCoder’s Weekly - Issue #472 210512 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210512 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 寻求更快的 Python TIM ANDERSON There seems to be a lot going on in the Python JIT compiler space. Facebook recently open-sourced Instagram’s Cinder runtime, Pyston 2 returned as an open-source project, and the Pyjion project from Microsoft continues to grow. But Python creator Guido van Rossum has suggested that Python developers in need of more performance should consider writing parts of their code as C extensions, or use the PyPy runtime. This article explores Pythons turbulent history with performance optimization. (是也乎: 对运行时性能的追求, 在 Python 宇宙引发了一系列有益的动荡… ) 性能如何成为安全 Python 代码的克星 DIMA KOTIK While JIT compilers compete for Python performance improvements and some teams rush into asyncio adoption, one has to wonder what the outcome of additional complexity will be. This opinion piece argues that the cost of hurried and potentially unnecessary performance optimization is unstable and insecure code. It’s a good reminder that decisions about project dependencies should be thoroughly researched and made deliberately. (是也乎: 高级语言的宿命 ) 堆栈和队列: 选择理想的数据结构 REAL PYTHON course Learn about three of Python’s data structures: stacks, queue and priority queues. You’ll look at multiple types and classes for all of these and learn which implementations are best for your specific use cases. 德州仪器/TI 将发布使用 Python 的新型 TI-84 计算器 TI.COM EuroPython 2021 征集提案的时间延长至5月16日 EUROPYTHON.EU Pylance 现在是 VS Code 的默认 Python 语言服务器 MICROSOFT.COM (是也乎: 反正和官方的不同, 怪不得最好使用另外的运行时… ) 探讨/吐糟 Discussions ...

2021-05-12 · 4 min · 1985 words · ZoomQuiet

pythonista-weekly : Pyw 498

欢迎阅读《pythonista周刊》第498期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-498 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Get Your Weekly Dose of Programming A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free 新闻 The new TI-84 Plus CE Python graphing calculator TI-84 Plus CE 的一切你所知道和喜爱的,现在有了 Python 的助力。向学生介绍使用 TI 技术用 Python 进行编码。2021年秋季上市。 Python also impacted by critical IP address validation vulnerability Python 标准库 ipaddress 也存在严重的 IP 地址验证漏洞,与今年早些时候 “netmask “库中报告的漏洞相同。发现 netmask 关键漏洞的研究人员也在这个 Python 模块中发现了同样的漏洞,并获得了一个漏洞标识符。CVE-2021-29921。由于 Python 维护者在 2019 年的一次修改,这个回归漏洞悄然进入 Python 3.x 的 ipaddress 模块。 宣布六项Python科学资助项目 Python 科学工作组考虑为推动 Python 的科学应用的提案提供资金。我们最近的提案征集已经结束,我们很高兴地宣布了六项资助。 ...

2021-05-07 · 4 min · 1606 words · ZoomQuiet

Issue 471

C扩展的隐藏性能开销 原文: PyCoder’s Weekly - Issue #471 210505 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210505 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python C扩展的隐藏性能开销 ITAMAR TURNER-TRAURING It’s no secret that Python is slower than compiled languages like C, C++, and Rust. If you need a performance boost, you can write compiled Python C extensions. But there are some hidden performance costs that you should be aware of if you decide to do this. This article explains two ways that Python C extensions can actually be slower than pure Python and discusses some solutions and work around for them. (是也乎: 是的, Py 内建模块是宝藏, 很少有人都用过的… ) 如何用 ipywidgets 令 Jupyter Notebook 能交互式 MATT WRIGHT Jupyter Notebooks are great for exploratory data analysis. They’re also a good way to share results and analysis with other people, who can alter the notebook to further explore the data themselves. But there are some limitations to notebook interactivity. That’s where ipywidgets comes in! In this tutorial you’ll learn how to create widgets like check boxes, drop-down menus, sliders, and how to handle events like button clicks. Rapidly Identify Bottlenecks in Your Python Applications with Datadog APM. DATADOG sponsor Datadog’s Continuous Profiler allows you to find the most resource-consuming parts in your production code all the time, at any scale, with minimal overhead. Debug and optimize your code, enhancing application performance before your customers notice. Try Datadog APM today → 用 Arcade 在 Python 中构建平面游戏 REAL PYTHON Building games can be a fun way to learn new Python concepts and practice techniques you’ve already learned. Plus, they make for great projects to share! This step-by-step tutorial shows you how to build a platform game using the arcade library. You’ll learn techniques for designing levels, sourcing assets, and implementing advanced features. (是也乎: 卷轴游戏, 现在有完备的开发/设计/调试环境了… ) Python 3.10.0b1 现在可用 CPYTHON DEV BLOG Python 3.8.10 and 3.9.5 have also been released. Microsoft 成为 PSF 第三个 远见赞助商 MICROSOFT.COM EuroPython 2021: 呼吁赞助商 EUROPYTHON.EU Django Security 发行版发布: 3.2.1, 3.1.9, and 2.2.21 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2021-05-05 · 5 min · 2226 words · ZoomQuiet