Python Bytes - #474 Astral to join OpenAI

Topics covered in this episode:
Watch on YouTube

About the show

Sponsored by us! Support our work through:

Brian #1: Starlette 1.0.0

  • As a reminder, Starlette is the foundation for FastAPI
  • Starlette 1.0 is here! - fun blog post from Marcello Trylesinski
  • “The changes in 1.0 were limited to removing old deprecated code that had been on the way out for years, along with a few bug fixes. From now on we'll follow SemVer strictly.”
  • Fun comment in the “What’s next?” section:
    • “Oh, and Sebastián, Starlette is now out of your way to release FastAPI 1.0. 😉”
  • Related: Experimenting with Starlette 1.0 with Claude skills
    • Simon Willison
    • example of the new lifespan mechanism, very pytest fixture-like
      @contextlib.asynccontextmanager
      async def lifespan(app):
      async with some_async_resource():
          print("Run at startup!")
          yield
          print("Run on shutdown!")
      app = Starlette(
      routes=routes,
      lifespan=lifespan
      )
      

Michael #2: Astral to join OpenAI

  • via John Hagen, thanks
  • Astral has agreed to join OpenAI as part of the Codex team
  • Congrats Charlie and team
  • Seems like **Ruff** and uv play an important roll.
  • Perhaps ty holds the most value to directly boost Codex (understanding codebases for the AI)
  • All that said, these were open source so there is way more to the motivations than just using the tools.
  • After joining the Codex team, we'll continue building our open source tools.
  • Simon Willison has thoughts
  • discuss.python.org also has thoughts
  • The Ars Technica article has interesting comments too
  • It’s probably the death pyx
    • Simon points out “pyx is notably absent from both the Astral and OpenAI announcement posts.”

Brian #3: uv audit

  • Submitted by Owen Lemont
  • Pieces of uv audit have been trickling in. uv 0.10.12 exposes it to the cli help
  • Here’s the roadmap for uv audit
  • I tried it out on a package and found a security issue with a dependency
    • not of the project, but of the testing dependencies
    • but only if using Python < 3.10, even though I’m using 3.14
  • Kinda cool
  • Looks like it generates a uv.lock file, which includes dependencies for all project supported versions of Python and systems, which is a very thorough way to check for vulnerabilities.
  • But also, maybe some pointers on how to fix the problem would be good. No --fix yet.

Michael #4: Fire and forget (or never) with Python’s asyncio

  • Python’s asyncio.create_task() can silently garbage collect your fire-and-forget tasks starting in Python 3.12
  • Formerly fine async code can now stop working, so heads up
  • The fix? Use a set to upgrade to a strong ref and a callback to remove it
  • Is there a chance of task-based memory leaks? Yeah, maybe.

Extras

Brian:

Joke: We now have translation services

What A Day - The Iran War Is Fueling Antisemitism

The MAGA Right is at war over the role that Israel has in American foreign policy and the war with Iran. If you listen to Tucker Carlson or former counterterrorism chief Joe Kent, you would think that President Donald Trump was bamboozled into this conflict, lured by the evil "Israel lobby." The way some on the American Right (and the American Left) are talking about Israel has edged into outright antisemitism. And with multiple violent attacks on synagogues around the world over the last few weeks, the lack of distinction between "Israel the country" and "Jewish people" is having a very dangerous impact. Zack Beauchamp, senior correspondent at Vox, joins the show to talk about the rise of anti-war antisemitism.

And in headlines, President Trump threatens to escalate the already high-stakes war with Iran, the Trump administration plans to make airport security lines even more unpleasant by sending in ICE officers, and the White House grounds welcome a statue of Christopher Columbus.

Show Notes:

Strict Scrutiny - Absentee Ballots, Asylum, and Too Many A**holes to Count

Leah, Kate, and Melissa preview this week’s arguments at the Court, including Watson v. Republican National Committee, a challenge over when election offices must receive absentee ballots in order for them to be counted. They also cover a flood of legal news, including the quagmire that is the New Jersey U.S. Attorney’s Office, rulings from lower courts both encouraging (U.S. District Court for the District of Columbia) and grim (the wrong-like-clockwork Fifth Circuit), and the showdown between Senator Rand Paul and Trump’s pick for DHS head, Markwayne “NOSPACES” Mullin.

Favorite things:

Short Wave - Day Zero: When the wells run dry

In honor of World Water Day, Short Wave is exploring the ways water touches our lives. From increasing water shortages around the world, to how it’s affecting agriculture and aquifers. We’re starting with “day zero”: the day a city or place runs out of water. Cape Town, Mexico City, Chennai in India are just a few places that have come close to day zero events. Today, we talk to experts and hear from someone who lived in Cape Town during the crisis about why we’re overdue for rethinking our relationship to water. 

Interested in more science behind current events? Email us your question at shortwave@npr.org.

Listen to every episode of Short Wave sponsor-free and support our work at NPR by signing up for Short Wave+ at plus.npr.org/shortwave.

To manage podcast ad preferences, review the links below:

See pcm.adswizz.com for information about our collection and use of personal data for sponsorship and to manage your podcast sponsorship preferences.

Learn more about sponsor message choices: podcastchoices.com/adchoices

NPR Privacy Policy

The Best One Yet - 🥷 “Make $1K Today” — Car Negotiation 101. Super Chip Smuggling. Fancy Steak Insurance. +Umass’ Michelin food

A YouTube star makes $2.4M negotiating car prices like a ninja… Here’s his top negotiating tip.

Texas Roadhouse beat Olive Garden despite record beef prices… because of Steak Insurance.

Wildest AI scandal of the year?... A founder smuggling Nvidia chips to China with a blowdryer.

Plus, UMass-Amherst didn’t make March Madness… but their dining hall is #1.


$TXRH $DRI $SMCI


Buy tickets to The IPO Tour (our In-Person Offering) TODAY

New York, NY (4/8): https://www.ticketmaster.com/event/0000637AE43ED0C2

Los Angeles, CA (6/3): SOLD OUT


Get your TBOY Yeti Doll gift here: https://tboypod.com/shop/product/economic-support-yeti-doll 


NEWSLETTER:

https://tboypod.com/newsletter 


OUR 2ND SHOW:

Want more business storytelling from us? Check our weekly deepdive show, The Best Idea Yet: The untold origin story of the products you're obsessed with. Listen for free to The Best Idea Yet: https://wondery.com/links/the-best-idea-yet/


NEW LISTENERS

Fill out our 2 minute survey: https://qualtricsxm88y5r986q.qualtrics.com/jfe/form/SV_dp1FDYiJgt6lHy6


GET ON THE POD: 

Submit a shoutout or fact: https://tboypod.com/shoutouts 


SOCIALS:

Instagram: https://www.instagram.com/tboypod 

TikTok: https://www.tiktok.com/@tboypod

YouTube: https://www.youtube.com/@tboypod 

Linkedin (Nick): https://www.linkedin.com/in/nicolas-martell/

Linkedin (Jack): https://www.linkedin.com/in/jack-crivici-kramer/

Anything else: https://tboypod.com/ 


About Us: The daily pop-biz news show making today’s top stories your business. Formerly known as Robinhood Snacks, The Best One Yet is hosted by Jack Crivici-Kramer & Nick Martell.




Hosted on Acast. See acast.com/privacy for more information.

The Indicator from Planet Money - The multimillion dollar Saturday Night Live UK gamble

Live from London, it’s Saturday Night? Saturday Night Live made its UK debut over the weekend after a well-hyped promotional campaign. Will this all-American sketch show translate to British audiences? We examine SNL’s multi-million dollar gamble. 

Come see Planet Money live on stage in April! 12 cities. Details and tix here: https://tix.to/pm-book-tour

Related episodes: 
Why Paramount went looney tunes for Warner Bros.  

For sponsor-free episodes of The Indicator from Planet Money, subscribe to Planet Money+ via Apple Podcasts or at
plus.npr.org. Fact-checking by Sierra Juarez. Music by Drop Electric. Find us: TikTok, Instagram, Facebook, Newsletter 

To manage podcast ad preferences, review the links below:

See pcm.adswizz.com for information about our collection and use of personal data for sponsorship and to manage your podcast sponsorship preferences.

Learn more about sponsor message choices: podcastchoices.com/adchoices

NPR Privacy Policy

What Next | Daily News and Analysis - You Mailed in Your Ballot. Will It Count?

The argument against counting mail-in ballots that arrive after election day is going to involve Supreme Court-pleasing “originalist” language, but is the case really just another way to say that Trump should have beaten Joe Biden in 2020? 


Guest: Jay Willis, editor-in-chief of Balls & Strikes.



Want more What Next? Subscribe to Slate Plus to access ad-free listening to the whole What Next family and across all your favorite Slate podcasts. Subscribe today on Apple Podcasts by clicking “Try Free” at the top of our show page. Sign up now at slate.com/whatnextplus to get access wherever you listen.


Podcast production by Elena Schwartz, Paige Osburn, Anna Phillips, Madeline Ducharme, and Rob Gunther.


Hosted on Acast. See acast.com/privacy for more information.

Opening Arguments - Idiot CEO Used ChatGPT to Try to Screw Over Subnautica Creators

OA1246 - Part 1: “The AI was nicer about it” and other reasons I ignored my lawyer: the Subnautica 2 story

ChatGPT cannot warp space-time to make you un-sign that contract. Unfortunately for video game publisher “Krafton”, the world’s-best-cheerleader will instead gently tell you that your intention to break an air-tight contract without illegally breaching it will be difficult, and then give you a plan to try anyway. Team of lawyers screaming “please god stop” be damned. The plan worked great, right up until it hit a judge.

Developer “Unknown Worlds”, creator of the hit game “Subnautica” just won a substantial victory for breach of contract against Krafton, securing the reinstatement of their own CEO, and probably a massive bonus in the process. In part 1, Jenessa walks us through the story of how Unknown Worlds was formed, why they sold to Krafton, the terms of the contract, how the relationship went south, and why “Subnautica 2” got delayed. Tune in to part 2 to hear how the lawsuit was decided.

Check out the OA Linktree for all the places to go and things to do!

 

Global News Podcast - Is Israel planning a full-scale ground invasion of Lebanon?

Israel’s defence minister has announced that his country is expanding its ground campaign in Lebanon. Israel Katz warned of a prolonged operation against the Iran-backed group, Hezbollah, after the Israeli government ordered the destruction of all crossings over the Litani River. The Israeli military also says it expects several more weeks of fighting against Iran. Meanwhile, Tehran has warned it will fully close the Strait of Hormuz if Washington follows through with President Trump's threat to "obliterate" power plants in Iran. Also: in France's local elections, the Socialist candidate, Emmanuel Grégoire, claims victory in Paris, while in a boost for the nationalist right, an ally of Marine Le Pen is set to become mayor of Nice; hundreds of Syrians protest in Damascus against strict new alcohol laws; the new AI robots that can repair themselves and adapt to their environment; and a critic's view of Saturday Night Live UK's debut.

The Global News Podcast brings you the breaking news you need to hear, as it happens. Listen for the latest headlines and current affairs from around the world. Politics, economics, climate, business, technology, health – we cover it all with expert analysis and insight. Get the news that matters, delivered twice a day on weekdays and daily at weekends, plus special bonus episodes reacting to urgent breaking stories. Follow or subscribe now and never miss a moment. Get in touch: globalpodcast@bbc.co.uk

It Could Happen Here - Prairieland and Antifa Terrorism

Garrison and Robert discuss a trial stemming from a protest and shooting outside an ICE facility in Prairieland Texas, how the government secured convictions, and the possible precedent this case sets.

Sources:
https://storage.courtlistener.com/recap/gov.uscourts.txnd.410488/gov.uscourts.txnd.410488.367.0.pdf 

https://storage.courtlistener.com/recap/gov.uscourts.txnd.410488/gov.uscourts.txnd.410488.366.0.pdf

https://www.justice.gov/opa/pr/antifa-cell-members-convicted-prairieland-ice-detention-center-shooting

https://www.nacdl.org/getattachment/f536e696-072c-4982-bc47-d2dc7f42f766/gov-uscourts-txnd-411041-89-0_1.pdf

https://prairielanddefendants.com/wp-content/uploads/2026/01/Superseding-Indictment-2.pdf

https://www.keranews.org/criminal-justice/2026-03-03/prairieland-ice-detention-center-shooting-trial-defendants-self-defense-third-party-defense-theory-judge-mark-pittman

https://prairielanddefendants.com/court-notes/march-3rd-federal-trial-day-7/

https://prairielanddefendants.com/court-notes/march-6th-federal-trial-day-10/

https://prairielanddefendants.com/court-notes/march-10-federal-trial-day-12/

https://prairielanddefendants.com/court-notes/march-10-federal-trial-day-12/#kyle-shideler-prosecutions-antifa-expert-redirect

https://prairielanddefendants.com/court-notes/february-26-federal-trial-day-5/

https://prairielanddefendants.com/court-notes/february-27th-federal-trial-day-6/

https://prairielanddefendants.com/court-notes/march-9th-federal-trial-day-11/

https://www.congress.gov/crs-product/R41333

https://www.keranews.org/criminal-justice/2026-03-10/dario-sanchez-prairieland-ice-shooting

See omnystudio.com/listener for privacy information.

array(3) { [0]=> string(150) "https://www.omnycontent.com/d/programs/e73c998e-6e60-432f-8610-ae210140c5b1/78d30acb-8463-4c40-a5ae-ae2d0145c9ff/image.jpg?t=1751824393&size=Large" [1]=> string(10) "image/jpeg" [2]=> int(0) }