Planet Python
Follow
PyCoder’s Weekly: Issue #752: Dict Performance, Hypothesis, Lazy Imports, and More (2026-09-15)
This issue of PyCoder's Weekly covers a range of Python topics, from performance to testing and new features. It highlights that sets and dictionaries can have quadratic-time performance, not always O(1). Property-based testing with Hypothesis is promoted as an alternative to edge case testing. A sponsored advertisement introduces ScrapingBee for efficient web scraping. Python 3.15's preview of lazy imports is explained, promising faster application startup times. A call for volunteers is issued for the Django Fundraising Working Group. An incident report from PyPI regarding file hosting errors is mentioned. Nifty Django features like Q() objects for dynamic filtering are explored. A profile on Python creator Guido van Rossum is featured. The article "Making a Python Interpreter in 1024 Bytes" showcases code golfing. Deoptimizing attribute access by reading __dict__ is also discussed. Tips for an effective Python development environment are provided. Analysis of remote Python data job trends reveals shrinking boards and increased remote work. Python timer functions and building a reusable Timer class are taught. Prototyping a new CLI for Wagtail is detailed. NumPy's ufuncs and their internals are presented. Several new projects and code repositories are listed, including django-ox and Plotext. Finally, upcoming Python events are announced, such as PyCon Cameroon and various meetups.