The Real Python Podcast cover image

The Real Python Podcast

New PEPs: Template Strings & External Wheel Hosting

Nov 8, 2024
Christopher Trudeau, a regular contributor from PyCoder's Weekly, dives into recent Python Enhancement Proposals, including PEP 750, which introduces safer string formatting, and PEP 759 for external resource hosting. The discussion covers the exciting updates in Python 3.13, innovative solutions for solving Sudoku puzzles, and the introduction of a debugging tool for HTTP requests. Trudeau also shares insights on mentoring within the tech community, highlighting modern tools like Scrapling for guiding newcomers.
47:58

Podcast summary created with Snipd AI

Quick takeaways

  • The introduction of template strings through PEP 750 offers deferred evaluation benefits for logging and security in Python development.
  • PEP 759 addresses hosting concerns by allowing safe project resource linking to external sites via a new .rim file format.

Deep dives

New Python Enhancement Proposals

A discussion of new Python enhancement proposals (PEPs) highlights the introduction of template strings through PEP 750 and the safe hosting of project resources via PEP 759. Template strings, or 'T-strings' as proposed, offer deferred evaluation similar to F-strings, making them beneficial for scenarios like logging, translation, and avoiding injection attacks. PEP 759 aims to address bandwidth concerns by allowing projects that host large libraries to use a new file format called .rim, which links to external resources without overloading the Python Package Index (PyPI). These proposals are still under discussion but represent significant evolutions in Python's capabilities.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode