Topics covered in this podcast include Granian, a Rust HTTP server for Python applications; the release of pytest 8 with improved diffs; assorted Docker goodies and exploring alternatives; and new research finding 'downward pressure on code quality' from GitHub Copilot.
Grannyan is a new Python web framework that provides a rust-based HTTP server for Python applications, offering stability and seamless integration of Python code without significant modifications.
PyTest 8.0 introduces enhanced diffs, better handling of Xfail tests, and improved support for standard library containers, providing valuable enhancements for developers and ensuring improved testing experiences.
Deep dives
Grannyan: A New Rust-Based HTTP Server for Python Applications
Grannyan is a new Python web framework that provides a rust-based HTTP server for Python applications. Created by Giovanni, Grannyan offers a correct HTTP implementation supporting versions 1.1, 2, and working on HTTP 3. It natively supports async and await, allowing for a seamless integration of Python code without the need for significant modifications. Grannyan also boasts stability in its performance profile, providing less variability or jitter compared to other alternatives like Uvicorn and Hypercorn. With its focus on async capabilities and stability, Grannyan offers a promising option for running Python web apps.
PyTest 8.0 Released: Exciting New Features and Improvements
PyTest 8.0 is a significant release that introduces several new features and improvements. The latest version offers enhanced diffs for failed exceptions, providing colored and syntax-highlighted error reports. It also improves support for standard library containers, making it easier to compare and debug various types of data. Additionally, PyTest 8.0 introduces better handling of Xfail tests, allowing for more informative tracebacks when an expected failure passes. This release marks a major milestone for PyTest, offering valuable enhancements for developers and ensuring improved testing experiences.
GitHub Co-Pilot: Balancing Benefits and Downside
GitHub Co-Pilot, an AI-assisted coding tool, has raised questions about its impact on code quality. Recent research suggests a potential decrease in maintainability and an increase in code churn when using Co-Pilot. While the tool can help developers write code faster and apply good patterns, it often generates code that resembles copy-pasting or repeating existing code rather than taking a holistic approach to a project. As AI tools like Co-Pilot evolve, they may offer more context-aware suggestions and style consistency features, which could address some of the current limitations and further enhance development workflows.
Pydantic 2.6.0, a major release, brings significant improvements and additional contributors. With this release, Pydantic introduces performance enhancements and various new features that make working with this Python library even more powerful and efficient. In other news, Python Bytes has announced a revamped newsletter, encouraging readers to sign up for updates and exclusive content directly from the team. Additionally, the essay titled 'Use Custom Search Engines Way More' highlights the benefits of setting up custom search engines in browsers, offering quick and specialized searches within specific platforms or websites.