Issue 421
2019 Python 开发者问卷结果出来了 原文: PyCoder’s Weekly - Issue #421 200520 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200520 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 给 Pythonistas 的分析 Python vs JavaScript for – Real Python REAL PYTHON Python and JavaScript are two of the most popular programming languages in the world. In this tutorial, you’ll take a deep dive into the JavaScript ecosystem by comparing Python vs JavaScript. You’ll learn the jargon, language history, and best practices from a Pythonista’s perspective. (是也乎: 没什么可比的, JS 除了是现今唯一一个真正全栈开发语言之外, 基本没什么吸引力, 而且这点也在被 Py 慢慢赶上… PS: node.js 创始人放弃 node 另开新坑也说明问题所在了. ) Python 开发调查2019年结果 JETBRAINS.COM The results of the 2019 Python Developers Survey, a joint effort from JetBrains and the Python Software Foundation, have been released. Some interesting takeaways: Flask continues to grow as the most popular web framework, about half of Python developers report using pytest for testing, and VS Code continues to grow rapidly in popularity with almost 1/4 Python developers using it as their main editor. Check it out! (是也乎: 仅仅根据 jetbrain 一家内部数据, 也算是代表一部分真实了. ) 通过在公共存储库中反编译 Python 字节码来发现秘密 JESSE LI If you commit .pyc files to GitHub, or other public source control repositories, then all of your application secrets, such as AWS credentials and database passwords, can be reconstructed from the bytecode contained in these files. Python 缓存整数 ARPIT BHAYANI Did you know that Python caches integers between -5 and 256? That is, these integer values are singletons, which means that any reference to one of them in your code references the same object in memory. Learn why Python does this and more in this short, but informative, article. (是也乎: 老爹自己从来不说这种技术细节… ) 优化Django ORM查询 ROCIO ARAMBERRI The Django ORM is powerful, but also abstract. It can give the illusion that operations are inexpensive. Learn how the ORM works under the hood and how you can optimize Django ORM queries to improve the performance of your web apps. Python GitHub迁移工作组在呼吁志愿者! PYTHON SOFTWARE FOUNDATION The PSF is looking for volunteers to participate in a workgroup that will be involved with Python’s migration from bugs.python.org to GitHub. Python 3.9.0b1 现在可用于测试 CPYTHON DEV BLOG “Python 3.9 is still in development. This release, 3.9.0b1, is the first of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.” Django 3.1 Alpha 1 发布 DJANGO SOFTWARE FOUNDATION (是也乎: Django 千秋万代一统江湖, 不过, 俺还在用 Bottle. ) Python 3.8.3 已发布 CPYTHON DEV BLOG (是也乎: 昨晚刚刚安装上, 编译速度比 2.7.12 还要快 ) 讨论 Discussions ...