Aller au contenu

Demystifying Python Memory Management & Choosing a Project Layout

30 octobre 2026 · 46 min

Notes de l’épisode

How does Python manage memory behind the scenes? What are the common ways to lay out a Python project? Christopher Trudeau is back on the show this week with another batch of PyCoder’s Weekly articles and projects.

Christopher shares an article titled “First Steps into Memory Management in Python.” With recent updates to the garbage collector and the ongoing work toward removing the Global Interpreter Lock (GIL), the article covers the fundamentals of how Python allocates, tracks, and frees memory.

We also share other articles and projects from the Python community, including recent releases, why Parquet dominates modern data engineering, choosing the right Python project layout, developing the most cursed + operator in all of Python, finding which dependencies block a Django project upgrade, and a Django performance benchmark profiler.

Spotlight: Codex for Python Developers: Hands-On Agentic Coding Course

Most Python developers use AI as fancy autocomplete. This 2-day live course teaches you to build entire projects with Codex, an AI agent that works inside your codebase.

Get Your Cheat Sheet: Click here to download your free Python project structure cheat sheet and keep the flat vs. src/ decision and the entry-point wiring within reach on your next project.

Topics:

  • 00:00:00 – Introduction
  • 00:01:56 – Python 3.16.0 Alpha 1 Is Now Available
  • 00:02:24 – Django Security Releases Issued: 6.1.2, 6.0.9, and 5.2.18
  • 00:02:46 – Release of Polars 2.0
  • 00:03:32 – PyPy v8.0.1 Release
  • 00:03:54 – Checking Email Reputation, and Allowing Outlook Again
  • 00:04:48 – PyScript is in maintenance mode
  • 00:05:55 – Codex for Python Developers: Hands-On Agentic Coding Course
  • 00:06:21 – MLOps North: November 5th & 6th
  • 00:06:46 – Why Parquet Dominates Modern Data Engineering
  • 00:16:04 – First Steps Into Memory Management in Python
  • 00:23:21 – Spotlight: Codex for Python Developers
  • 00:25:05 – Python Project Structure: How to Choose the Right Layout
  • 00:35:17 – Pendulum and the Most Cursed + Operator in All of Python
  • 00:38:50 – django-benchmark: Django Performance Benchmark Profiler
  • 00:41:53 – django-upgrade-report: Which Dependencies Block an Upgrade to Your Django Project?
  • 00:44:33 – Thanks and goodbye

News:

Show Links:

Projects:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

Tous les épisodes de The Real Python Podcast

Paramètres

Affichage

Langue

Détermine les stations affichées en premier sur la page d’accueil.

Historique

Les stations et épisodes écoutés récemment et tes dernières recherches sont seulement enregistrés dans ce navigateur.

Notifications

Un court message quand un podcast que tu suis publie un nouvel épisode. Désactive un podcast précis avec la cloche sur sa page.

Compte

Enregistrez vos favoris – dans l’app et sur le site.

Raccourcis clavier

/
Ouvrir la recherche
Espace
Lecture ou pause
← →
Dans le lecteur : 15 s en arrière, 30 s en avant (épisodes) · dans une rangée : tuile suivante
↑ ↓
Dans une rangée : cible dans la tuile
Début / Fin
Dans une rangée : première ou dernière tuile
Esc
Fermer la fenêtre ou le menu
?
Cet aperçu
En cours de lecture

Voir la station

À suivre

    Ajoutez des épisodes avec « À suivre » – ils seront lus après l'épisode en cours.