Skip to content

gh-92810: Clear the ABC cache in _abc._reset_registry - #162665

Merged
kumaraditya303 merged 1 commit into
python:mainfrom
kumaraditya303:gh-92810-abc-reset-registry
Nov 26, 2026
Merged

kumaraditya303 merged 1 commit into
python:mainfrom
kumaraditya303:gh-92810-abc-reset-registry

Conversation

@kumaraditya303

@kumaraditya303 kumaraditya303 commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Registered classes are now also added to the positive cache, so register() after _abc_registry_clear() did nothing for them and the registration was lost once the caches were cleared. This broke the registry restoring of regrtest in refleak mode.

Registered classes are now also added to the positive cache, so
`register()` after `_abc_registry_clear()` did nothing for them and
the registration was lost once the caches were cleared. This broke
the registry restoring of regrtest in refleak mode.
@kumaraditya303

Copy link
Copy Markdown
Contributor Author

!buildbot .Refleaks.

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @kumaraditya303 for commit ec9c908 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F162665%2Fmerge

The command will test the builders whose names match following regular expression: .*Refleaks.*

The builders matched are:

  • PPC64LE CentOS9 Refleaks PR
  • PPC64LE Fedora Rawhide Refleaks PR
  • ARM64 Windows Refleaks PR
  • AMD64 Windows Server 2025 Refleaks PR
  • aarch64 Fedora Stable Refleaks PR
  • s390x RHEL9 Refleaks PR
  • aarch64 Fedora Rawhide NoGIL refleaks PR
  • s390x Fedora Rawhide NoGIL refleaks PR
  • PPC64LE Fedora Rawhide NoGIL refleaks PR
  • aarch64 CentOS9 Refleaks PR
  • aarch64 CentOS10 Refleaks PR
  • AMD64 CentOS9 Refleaks PR
  • AMD64 NixOS Unstable Refleaks PR
  • ARM64 MacOS M1 Refleaks NoGIL PR
  • s390x Fedora Stable Refleaks PR
  • AMD64 CentOS9 NoGIL Refleaks PR
  • AMD64 Fedora Stable Refleaks PR
  • AMD64 Fedora Rawhide Refleaks PR
  • s390x Fedora Rawhide Refleaks PR
  • PPC64LE Fedora Stable Refleaks PR
  • s390x CentOS10 Refleaks PR
  • AMD64 CentOS10 Refleaks PR
  • aarch64 Fedora Rawhide Refleaks PR
  • AMD64 Fedora Rawhide NoGIL refleaks PR
  • AMD64 FreeBSD Refleaks PR

@kumaraditya303
kumaraditya303 enabled auto-merge (squash) November 26, 2026 07:19
@kumaraditya303
kumaraditya303 merged commit d43a975 into python:main Nov 26, 2026
71 of 79 checks passed
@kumaraditya303
kumaraditya303 deleted the gh-92810-abc-reset-registry branch November 26, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants