DiscoverPython Bytes#421 22 years old
#421 22 years old

#421 22 years old

Update: 2025-02-24
Share

Description

Topics covered in this episode:


Watch on YouTube


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?

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

#421 22 years old

#421 22 years old

Michael Kennedy and Brian Okken