core.py

Episode 20: Remote Code Execution By Design


Listen Later

In this episode, Pablo's avoiding the topic of garbage collection by talking about his latest PEP, which allows unprecedented interaction with a running Python process. We also resolve the bet about reference counting semantics, mention some notable changes in Python since the last episode, and discuss syntax highlighting in PyREPL and why it's bad, actually.


## Timestamps


(00:00:00) INTRO

(00:02:16) PART 1: PABLO'S LATEST PEP

(00:04:34) gdb is IMPOSSIBLE

(00:12:49) Make the process run code for you

(00:14:14) This already works on PyPy

(00:15:13) How does it work?

(00:25:38) Why a file?

(00:31:15) What if you don't trust Pablo?

(00:32:57) sys.remote_exec()

(00:36:09) Less obvious use cases

(00:46:56) PART 2: BETS

(00:55:44) PART 3: PR OF THE WEEK

(00:55:50) Łukasz: syntax highlighting in PyREPL

(01:10:14) Pablo's PR: allow the parser to activate future imports on the fly

(01:20:11) PART 4: WHAT'S GOING ON IN CPYTHON

(01:20:22) Free threading

(01:23:30) Performance

(01:34:41) PEP 765 implemented

(01:36:08) concurrent.futures.Executor.map(buffersize=)

(01:36:57) io.Reader and io.Writer

(01:38:40) Pabluco's linecache fetching interactive source code

(01:41:25) ast.unparse() roundtrip with semicolons

(01:41:59) OUTRO

...more
View all episodesView all episodes
Download on the App Store

core.pyBy Pablo Galindo and Łukasz Langa

  • 5
  • 5
  • 5
  • 5
  • 5

5

16 ratings


More shows like core.py

View all
Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

272 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

284 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

590 Listeners

Test & Code by Brian Okken

Test & Code

70 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

269 Listeners

Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

Super Data Science: ML & AI Podcast with Jon Krohn

298 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

215 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

987 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

62 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

139 Listeners

Last Week in AI by Skynet Today

Last Week in AI

287 Listeners

2.5 Admins by The Late Night Linux Family

2.5 Admins

92 Listeners

Hard Fork by The New York Times

Hard Fork

5,438 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

47 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

53 Listeners