Python: Base64 Gets a Major Upgrade

Today we're diving into some exciting improvements to Python's encoding capabilities, with major enhancements to base64 and binascii functions that add wrapcol and ignorechars parameters. We also see quality-of-life improvements like keyword arguments for bytes.replace(), better frozendict support in plistlib, and some solid documentation updates.

Duration: PT3M52S

Episode overview

This episode is a short developer briefing from Python.

It explains recent repository work in plain language.

  • Show: Python
  • Published: 2026-04-01T10:02:32Z
  • Audio duration: PT3M52S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hey there, Python developers! Welcome back to another episode of the Python podcast. I'm so glad you're here with me today - grab your favorite drink and let's dive into what's been happening in the CPython world.

You know what I love about today's commits? They're the kind of changes that make you go "finally!" when you see them. These are those quality-of-life improvements that developers have probably been wanting for ages.

Let's start with the star of today's show - Serhiy Storchaka has been absolutely crushing it with some major improvements to Python's encoding functions. The biggest one is adding wrapcol and ignorechars parameters to a whole bunch of base64 and binascii functions.

Now, if you've ever worked with base64 encoding, you know how frustrating it can be when you need to format the output with specific line wrapping or handle input that has extra characters you want to ignore. Well, those days are behind us! Functions like b16encode, b32encode, b85encode, and their decode…

What's really cool about this change is how comprehensive it is. We're talking about updates across nine different files, extensive test coverage, and full documentation updates. This is the kind…

Ser…

Nearby episodes from Python

  1. Base64 Gets Better and Security Tightens Up
  2. JIT Compiler Gets Major Performance Boost
  3. Code Cleanup and Security Focus
  4. Spring Cleaning & iOS Evolution
  5. Performance Insights and Platform Polish
  6. Security Fixes and Developer Experience Polish
  7. Error Handling Evolution and Quality of Life Wins
  8. JIT Compiler Gets Frame Pointer Safety & Performance Wins