GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-142516: Forward-port generational GC by zanieb · Pull Request #148687 · python/cpython

Conversation

@zanieb

@zanieb zanieb commented Apr 17, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This patch is was created by taking the following two branches as references

  • https://github.com/sergey-miryanov/cpython/tree/feat/gc-3g
  • https://github.com/nascheme/cpython/tree/gc-gen-3.14

and removing the runtime toggle behavior included in their implementations then doing multiple comparative passes to the 3.13 implementation and changes to the GC since 3.13.

This process was performed using an LLM and is intended as a starting point, not a final patch — as I do not have sufficient CPython GC expertise to audit the work.

See https://discuss.python.org/t/reverting-the-incremental-gc-in-python-3-14-and-3-15/107014 for broader context.

The 3.14 backport can be found at #148694

  • Issue: Observed memory leak in ssl library: Python 3.14 GC issue #142516

📚 Documentation preview 📚: https://cpython-previews--148687.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot mentioned this pull request Apr 17, 2026
Observed memory leak in ssl library: Python 3.14 GC issue #142516
Closed
@zanieb
zanieb force-pushed the zb/gc-gen-forward-315 branch from 3f88e55 to 0bbd499 Compare April 17, 2026 16:19
@zanieb zanieb changed the title gh-142516: Forward-port generational GC to 3.15 gh-142516: Forward-port generational GC Apr 17, 2026
@zanieb zanieb mentioned this pull request Apr 17, 2026
[3.14] Forward-port generational GC (GH-142516) #148694
Closed
@zanieb
zanieb force-pushed the zb/gc-gen-forward-315 branch from 0bbd499 to b307c3f Compare April 17, 2026 18:35
@zanieb
Forward-port generational GC to 3.15
1317751
@zanieb
zanieb force-pushed the zb/gc-gen-forward-315 branch from b307c3f to 1317751 Compare April 17, 2026 21:00
@sergey-miryanov

sergey-miryanov commented Apr 18, 2026

Copy link
Copy Markdown
Contributor

I've cherry-picked the commit to this branch: #148720. I added a Co-Authored-By trailer to the cherry-picked commits, and I hope GitHub will preserve the original authorship when the PR is merged.

Thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@zanieb

zanieb commented Apr 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Closing in favor of #148746 / #148720

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@zanieb zanieb closed this Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pablogsal pablogsal Awaiting requested review from pablogsal pablogsal will be requested when the pull request is marked ready for review pablogsal is a code owner
@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently will be requested when the pull request is marked ready for review ericsnowcurrently is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@zanieb @sergey-miryanov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.