Python 2.7 今天正式退休 原文: PyCoder’s Weekly - Issue #401 200101 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200101 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Python 2.7 Retires Today PYTHONCLOCK.ORG Python 2.7 will not be maintained past Jan 1st, 2020. So long Python 2, and thank you for your years of faithful service. Python 3, your time is now! (是也乎: 当然, 海量 Py2.7 兼容代码, 将继续在非官方支持下良好运行到永远… ) 对 Python之禅 的冥想 MOSHE ZADKA “The Zen of Python is not ’the rules of Python’ or ‘guidelines of Python’. It is full of contradiction and allusion. It is not intended to be followed: it is intended to be meditated upon. In this spirit, I offer this series of meditations on the Zen of Python.” (是也乎: 蟒之禅 的原义就是引发沉思,而不是终止之… ) Python 计时器功能: 监视代码的三种方法 REAL PYTHON Learn how to use Python timer functions to monitor how fast your programs are running. You’ll use classes, context managers, and decorators to measure your program’s running time. You’ll learn the benefits of each method and which to use given the situation. (是也乎: 总之: codetiming 内置计时器; time.perf_counter() 提供精确计时; timeit 专用运行时计时; cProfile 专用性能分析器; pstats CLI 性能分析工具; KCachegrind GUI 工具来观察性能分析数据; line_profiler 单行代码性能监察; memory-profiler 内存监察工具. ) 开源移民情绪困扰 ARMIN RONACHER The creator of Flask reflects on the Python 2 to 3 migration and how the Python community handled the transition. Interesting read! (是也乎: 和 数字游民 不同, 移民指就基础运行平台的迁移, 不象 Python 1.x -> 2.x 的迁移, 亳无压力, 因为, 当年根本就没什么成规模的 1.x 工程. 所以, 技术工程迁移, 多数阻力不在技术, 而在情绪, 就象人月神话,以及其它真实软件工程心理学著作中论及的… 代码相处时间久了, 一样有感情的, 被迫迁移到完全无感觉的新平台中, 就象改嫁… ) Python REPL和Shell集成技巧 JOHN D. COOK Some good tips and ways to minimize the context interruption when moving between the shell and a Python session. (是也乎: 厨子说的总是有用的…. ) 俺名片能运行 Linux+MicroPython GEORGE HILLIARD Embedded systems engineer builds a card-sized computer that boots Linux and runs MicroPython. Cool! (是也乎: 网红事件了… 已经有人准备将之复制并配置为实体 BTC 銭包了… ) PyPy 7.3.0 发布 PYPY BLOG 讨论 Discussions NIL
...