Brought to you by Michael and Brian - take a Talk Python course or get Brian's pytest book

#421: 22 years old

Published Mon, Feb 24, 2025, recorded Mon, Feb 24, 2025
Watch this episode on YouTube
Play on YouTube
Watch the live stream replay

About the show

Sponsored by us! Support our work through:

Connect with the hosts

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.

Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.

Michael #1: httpdbg

  • A tool for Python developers to easily debug the HTTP(S) client requests in a Python program.
  • To use it, execute your program using the pyhttpdbg command instead of python and that's it. Open a browser to http://localhost:4909 to view the requests

Brian #2: PyPI Now Supports iOS and Android Wheels for Mobile Python Development

  • Sara Gooding
  • “the Python Packaging Index (PyPI) has officially begun accepting and distributing pre-compiled binary packages, known as "wheels," for both iOS and Android platforms. “
  • Next up, “cibuildwheel Updates Are in Progress to Simplify iOS and Android Wheel Creation”

Michael #3: Arcade Game Platform goes 3.0

Brian #4: PEP 765 – Disallow return/break/continue that exit a finally block

  • Accepted for Python 3.14
  • I wouldn’t have thought to do this anyway, but it’s weird, so don’t.
  • Will become a SyntaxWarning catchable by running with -We

Extras

Brian:

Michael:

  • Tea pot follow up
    • While you're right that some software actually had this implemented, Python does not. It's not an officially accepted HTTP status code, it was proposed in a 'joke' RFC. I guess Python - even though its name comes from the funny TV series Monty Python - is not so funny. httpx, your (or at least -my-) favorite HTTP module for python, does have the I_AM_A_TEAPOT constant.
    • By the way, there are some HTTP status codes that changed their names in RFC 9110, for instance, http.HTTPStatus.UNPROCESSABLE_CONTENT (422, previously UNPROCESSABLE_ENTITY)
  • Pride follow up fosstodon.org/@kytta/114034442981727301
  • Time to upgrade your mini?

Joke: How old is she?


Want to go deeper? Check our projects