Python 421: Debugging HTTP, Mobile Wheels, and Arcade 3.0
·22m 49s
Shared point
–
Episode 421 Overview
In this episode of Python Bytes, Brian Akin and Michael Kennedy discuss the latest developments in the Python ecosystem, ranging from helpful developer tools to exciting updates in the mobile and gaming landscapes.
Key Topics
- HTTP Debugging: The hosts introduced HTTPDBG, a powerful tool designed to intercept and visualize HTTP/HTTPS requests in real-time. Unlike traditional mocking libraries, this tool acts as an adapter that provides a comprehensive web interface for inspecting traffic from any library within your application.
- Mobile Development: PyPI now officially supports iOS and Android as target platforms. This major milestone stems from persistent efforts by contributors like Russell Keith McGee and the Anaconda open-source team, aiming to make Python a more accessible language for mobile app development.
- Arcade 3.0: The 2D game library Arcade has received its 3.0 release, featuring significant improvements to texture management and core performance. It remains a fantastic entry point for developers interested in building 2D games using OpenGL.
- Language Standards: The community is moving forward with PEP 765, which seeks to discourage the use of control flow statements like
return,break, andcontinuewithinfinallyblocks, as they often lead to surprising or unintended behavior.
"I want to talk about debugging HTTP calls. Now, one way in which you might do this is you might say, I have this well-factored piece of code over here and i can call this function and we can in isolation test how it talks... but this kind of allows you to intercept what's actually happening."
Developer Corner & Recommendations
- Hardware Upgrade: Michael shares a cost-effective tip on trading in older Apple Silicon hardware for new M4-based machines.
- Community Engagement: The hosts reflect on the importance of maintaining long-term projects and the value of community feedback, highlighting blog posts on Scheme and PyTest best practices.