---
title: What Python 3.15 Changes, and What to Test Now
description: "The Python 3.15 changes worth testing on the release candidate now: free-threading progress, lazy imports via PEP 810, and UTF-8 as the default."
canonical: https://lukeocodes.dev/python-3-15-changes
type: article
locale: en_GB
published: 2026-09-01T00:00:00.000Z
modified: 2026-09-01T00:00:00.000Z
authors:
  - Luke Oliff
section: Engineering
tags:
  - Engineering
  - Open Source
  - python
  - cpython
  - free-threading
  - gil
  - pep-810
feed: https://lukeocodes.dev/rss.xml
search: https://lukeocodes.dev/search.json?q={query}
schema:
  - "@context": https://schema.org
    "@graph":
      - "@type": WebSite
        "@id": https://lukeocodes.dev/#website
        url: https://lukeocodes.dev
        name: Luke Oliff
        alternateName: lukeocodes
        inLanguage: en
        publisher:
          "@id": https://lukeocodes.dev/authors/luke#person
        description: Personal blog and writing by Luke Oliff — developer relations, voice AI, developer experience.
        potentialAction:
          - "@type": SearchAction
            target:
              "@type": EntryPoint
              urlTemplate: https://lukeocodes.dev/blog/search?q={search_term_string}
            query-input: required name=search_term_string
      - "@type": Person
        "@id": https://lukeocodes.dev/authors/luke#person
        name: Luke Oliff
        url: https://lukeocodes.dev/authors/luke
        description: Engineer and developer relations leader. Writing about developer relations, AI, and the voice industry, from the UK.
        mainEntityOfPage: https://lukeocodes.dev/authors/luke
        givenName: Luke
        familyName: Oliff
        image: https://lukeocodes.dev/authors/luke.jpg
        jobTitle: Engineer and developer relations leader
        sameAs:
          - https://www.linkedin.com/in/lukeocodes
          - https://github.com/lukeocodes
          - https://bsky.app/profile/lukeocodes.dev
          - https://x.com/lukeocodes
          - https://hashnode.com/@lukeocodes
          - https://dev.to/lukeocodes
        knowsAbout:
          - Developer Relations
          - Developer Experience
          - Voice AI
          - Text-to-Speech
          - Answer Engine Optimisation
          - Search Engine Optimisation
          - Open Source
          - Developer Tooling
          - API Design
          - Speech-to-Text
          - Voice Agents
          - Community Building
        knowsLanguage:
          - English
        nationality: British
        alumniOf:
          - "@type": Organization
            name: The Open University
  - "@context": https://schema.org
    "@graph":
      - "@type": Person
        "@id": https://lukeocodes.dev/authors/luke#person
        name: Luke Oliff
        url: https://lukeocodes.dev/authors/luke
        description: Engineer and developer relations leader. Writing about developer relations, AI, and the voice industry, from the UK.
        mainEntityOfPage: https://lukeocodes.dev/authors/luke
        givenName: Luke
        familyName: Oliff
        image: https://lukeocodes.dev/authors/luke.jpg
        jobTitle: Engineer and developer relations leader
        sameAs:
          - https://www.linkedin.com/in/lukeocodes
          - https://github.com/lukeocodes
          - https://bsky.app/profile/lukeocodes.dev
          - https://x.com/lukeocodes
          - https://hashnode.com/@lukeocodes
          - https://dev.to/lukeocodes
        knowsAbout:
          - Developer Relations
          - Developer Experience
          - Voice AI
          - Text-to-Speech
          - Answer Engine Optimisation
          - Search Engine Optimisation
          - Open Source
          - Developer Tooling
          - API Design
          - Speech-to-Text
          - Voice Agents
          - Community Building
        knowsLanguage:
          - English
        nationality: British
        alumniOf:
          - "@type": Organization
            name: The Open University
      - "@type": BlogPosting
        "@id": https://lukeocodes.dev/python-3-15-changes#article
        headline: What Python 3.15 Changes, and What to Test Now
        alternativeHeadline: What Python 3.15 Changes, and What to Test Now
        description: "The Python 3.15 changes worth testing on the release candidate now: free-threading progress, lazy imports via PEP 810, and UTF-8 as the default."
        datePublished: 2026-09-01T00:00:00.000Z
        dateModified: 2026-09-01T00:00:00.000Z
        url: https://lukeocodes.dev/python-3-15-changes
        mainEntityOfPage: https://lukeocodes.dev/python-3-15-changes
        inLanguage: en
        author:
          - "@id": https://lukeocodes.dev/authors/luke#person
        isPartOf:
          "@id": https://lukeocodes.dev/#website
        keywords: Engineering, Open Source, python, cpython, free-threading, gil, pep-810
        articleSection: Engineering
        about:
          - "@type": SoftwareApplication
            name: Python
          - "@type": SoftwareApplication
            name: CPython
          - "@type": Thing
            name: Open Source
        abstract: Python 3.15.0rc2 shipped 1 September 2026, with final planned for 1 October. Free-threading is no longer experimental, lazy imports arrive via PEP 810, and UTF-8 becomes the default preferred encoding. The RC is the point to run your test suite against.
        speakable:
          "@type": SpeakableSpecification
          cssSelector:
            - .post-tldr
            - h1
        image: https://lukeocodes.dev/og.png?h=What+Python+3.15+Changes%2C+and+What+to+Test+Now&d=The+Python+3.15+changes+worth+testing+on+the+release+candidate+now%3A+free-threading+progress%2C+lazy+imports+via+PEP+810%2C+and+UTF-8+as+the+default.&e=Writing
        wordCount: 500
        timeRequired: PT3M
        publisher:
          "@id": https://lukeocodes.dev/authors/luke#person
      - "@type": BreadcrumbList
        itemListElement:
          - "@type": ListItem
            position: 1
            name: Home
            item: https://lukeocodes.dev
          - "@type": ListItem
            position: 2
            name: Writing
            item: https://lukeocodes.dev/blog
          - "@type": ListItem
            position: 3
            name: What Python 3.15 Changes, and What to Test Now
            item: https://lukeocodes.dev/python-3-15-changes
      - "@type": FAQPage
        "@id": https://lukeocodes.dev/python-3-15-changes#faq
        mainEntity:
          - "@type": Question
            name: When does Python 3.15 come out?
            acceptedAnswer:
              "@type": Answer
              text: Python 3.15.0rc2 was released on 1 September 2026, and the 3.15.0 final release is planned for 1 October 2026. The release candidate is API-frozen, so only bug fixes land between it and final.
          - "@type": Question
            name: Is the GIL gone in Python 3.15?
            acceptedAnswer:
              "@type": Answer
              text: No. The default build still has the GIL. The free-threaded build (python3.15t) runs without it and stopped being experimental in 3.14. 3.15 adds a stable ABI for free-threaded builds and ships free-threading in the macOS installer by default.
          - "@type": Question
            name: What should I test before 3.15 final?
            acceptedAnswer:
              "@type": Answer
              text: Run your suite on 3.15.0rc2, test C extensions under the free-threaded build, and check code that opened files without an explicit encoding, since UTF-8 is now the default preferred encoding rather than the locale one.
---

[Luke Oliff.](/)

- [Blog](/blog)
- [CV](/cv)
- [Uses](/uses)
- [User manual](/user-manual)
- [Living with ADHD](/living-and-working-with-adhd)
- [RSS](/rss.xml)

[Luke Oliff · Writing](/blog)

# What Python 3.15 Changes, and What to Test Now

Sep 2026 · [Engineering](/blog/category/engineering) · 3 min read · [Luke Oliff](/authors/luke)

**TL;DR:** Python 3.15.0rc2 shipped 1 September 2026, with final planned for 1 October. Free-threading is no longer experimental, lazy imports arrive via PEP 810, and UTF-8 becomes the default preferred encoding. The RC is the point to run your test suite against.

Python 3.15.0rc2 shipped on [1 September 2026](https://www.python.org/downloads/release/python-3150rc2/), with the final release planned for 1 October. The short version of the python 3.15 changes worth caring about now: free-threading is no longer experimental, lazy imports arrive as an opt-in via PEP 810, and UTF-8 becomes the default preferred encoding. The release candidate is where you start testing, because the API is frozen and only bug fixes land before final.

I moved my CI onto rc2 the day it dropped. Here is what to look at.

## The Python 3.15 changes that matter

The rc2 [announcement](https://blog.python.org/2026/09/python-3150-rc2/) counts around 144 fixes on top of rc1, so the feature set is settled. The headline items from this cycle:

- Lazy imports, opt-in, via PEP 810. Imports can defer until first use, which cuts startup cost for large apps that pull in modules they rarely touch.
- UTF-8 as the default preferred encoding. Opening a file without `encoding=` no longer quietly follows the locale.
- A `frozendict` built-in and a real `sentinel` type, plus unpacking inside comprehensions.
- A dedicated profiling package with the Tachyon sampling profiler, and frame pointers on by default.
- JIT gains reported in the 8 to 13 percent range.

None of these force a rewrite. A couple of them can change behaviour under you, which is the reason to test rather than skim the changelog.

## Free-threading and the GIL

This is the slow-motion story worth tracking. The free-threaded build, the one without the global interpreter lock, landed as experimental in 3.13 and became a supported build in 3.14. 3.15 keeps pushing: it adds a stable ABI for free-threaded builds, and the official macOS installer now includes free-threading by default. The [free-threading docs](https://docs.python.org/3/howto/free-threading-python.html) track where it stands.

Supported does not mean the default. Your `python3.15` still has the GIL. The free-threaded interpreter is `python3.15t`, a separate build, and the ecosystem is what gates real adoption now, not CPython. A C extension has to declare it is safe to run without the GIL, and plenty still do not. So the practical question for 2026 is not "is the GIL gone", it is "do my C dependencies work under `t` yet".

## What to test now

Three things earn a real look before you trust 3.15 in production.

First, run the whole suite on 3.15.0rc2. That is the entire point of a release candidate, and bugs you report now still get fixed before 1 October.

Second, if you ship or depend on C extensions, install the free-threaded build and run under it. A stable ABI means wheels can target it, but "targets it" and "correct under it" are different claims, and data races only show up under load.

Third, grep for `open(` calls without an `encoding=` argument. UTF-8 as the default preferred encoding is the change most likely to bite quietly, because code that read a locale-encoded file on someone's machine will now read it as UTF-8 and may or may not notice. Set the encoding explicitly and the ambiguity goes away.

[← Newer: Regulatory Capture Is the Real AI Safety Play](/ai-regulatory-capture)

[All posts](/blog) →

## Search this site

`GET https://lukeocodes.dev/search.json?q=<words>` returns matching posts as JSON, each with its page URL and its markdown URL. Add `&limit=<1-50>` for more than 10. How it works: [/blog/search](https://lukeocodes.dev/blog/search.md).

```sh
curl "https://lukeocodes.dev/search.json?q=developer+relations"
```

---

© 2026 Luke Oliff. Posts live at the root of this site.

- [GitHub](https://github.com/lukeocodes)
- [LinkedIn](https://www.linkedin.com/in/lukeocodes)
- [X](https://x.com/lukeocodes)
- [Bluesky](https://bsky.app/profile/lukeocodes.dev)
- [Email](mailto:luke@lukeoliff.com)
- [RSS](/rss.xml)

## Cookies

This site sets one analytics cookie, from Google Analytics, and only in a browser that accepts the cookie banner. A client that does not run scripts sets no cookies, so there is nothing to accept or decline here.

[Cookie policy](/cookies)
