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 — [3.14] gh-141732: Fix ExceptionGroup repr changing when original exception sequence is mutated (GH-141736) by dr-carlos · Pull Request #144445 · python/cpython

Conversation

@dr-carlos

@dr-carlos dr-carlos commented Feb 3, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Taken from #142388 and fixing the various discrepancies between 3.14 and main.


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

  • Issue: ExceptionGroup repr is misleading if original exception sequence is mutated #141732

Sorry, something went wrong.

Uh oh!

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

All reactions
dr-carlos and others added 6 commits December 7, 2025 21:04
@dr-carlos @miss-islington
pythongh-141732: Fix ExceptionGroup repr changing when original exc…
30667ed
…eption sequence is mutated (pythonGH-141736)

(cherry picked from commit ff2577f)

Co-authored-by: dr-carlos <[email protected]>
@pablogsal
Merge branch '3.14' into backport-ff2577f-3.14
8a9d395
@StanFromIreland
Merge branch '3.14' into backport-ff2577f-3.14
abca71c
@dr-carlos
Merge branch '3.14' into backport-ff2577f-3.14
a9c7f40
@dr-carlos
Update ImportError definition for ComplexExtendsEx
628f34f
@dr-carlos
Update test_repr_raises()
81b24a9
@dr-carlos
dr-carlos requested a review from iritkatriel as a code owner February 3, 2026 21:07
@bedevere-app bedevere-app Bot added the awaiting review label Feb 3, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Feb 3, 2026
gh-141732: Fix ExceptionGroup repr changing when original exception sequence is mutated #141736
Merged
@dr-carlos dr-carlos mentioned this pull request Feb 3, 2026
ExceptionGroup repr is misleading if original exception sequence is mutated #141732
Closed
@thunze thunze mentioned this pull request Feb 7, 2026
python3Packages.exceptiongroup: fix build on staging NixOS/nixpkgs#487915
Merged
2 of 13 tasks
@ambv
Merge branch '3.14' into backport-ff2577f-3.14
76a4032
@ambv ambv changed the title [3.14] Fix ExceptionGroup repr changing when original exception sequence is mutated (GH-141736) [3.14] gh-141732: Fix ExceptionGroup repr changing when original exception sequence is mutated (GH-141736) Mar 23, 2026
@ambv
ambv merged commit dd4ea46 into python:3.14 Mar 23, 2026
47 checks passed

Uh oh!

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

@bedevere-app bedevere-app Bot removed the awaiting review label Mar 23, 2026
thunze added a commit to thunze/nixpkgs that referenced this pull request Apr 9, 2026
@thunze
python3Packages.exceptiongroup: fix repr patch after 3.14 backport
c52668e
[1] was finally backported to CPython 3.14 in [2], which landed in
CPython 3.14.4, causing the build of `python314Packages.exceptiongroup`
to fail.

In the meantime, exceptiongroup fixed `BaseExceptionGroup.__repr__` on
their end to match CPython behavior [3], so we can use that patch
instead.

[1] python/cpython#141736
[2] python/cpython#144445
[3] agronholm/exceptiongroup#155
thunze added a commit to thunze/nixpkgs that referenced this pull request Apr 9, 2026
@thunze
python3Packages.exceptiongroup: update repr patch after 3.14 backport
1fe7cf7
[1] was finally backported to CPython 3.14 in [2], which landed in
CPython 3.14.4, causing the build of `python314Packages.exceptiongroup`
to fail.

In the meantime, exceptiongroup fixed `BaseExceptionGroup.__repr__` on
their end to match CPython behavior [3], so we can use that patch
instead.

[1] python/cpython#141736
[2] python/cpython#144445
[3] agronholm/exceptiongroup#155
@thunze thunze mentioned this pull request Apr 9, 2026
python3Packages.exceptiongroup: update repr patch after 3.14 backport NixOS/nixpkgs#508410
Closed
2 of 13 tasks
mweinelt pushed a commit to mweinelt/nixpkgs that referenced this pull request Apr 9, 2026
@thunze @mweinelt
python3Packages.exceptiongroup: update repr patch after 3.14 backport
a1ccdd4
[1] was finally backported to CPython 3.14 in [2], which landed in
CPython 3.14.4, causing the build of `python314Packages.exceptiongroup`
to fail.

In the meantime, exceptiongroup fixed `BaseExceptionGroup.__repr__` on
their end to match CPython behavior [3], so we can use that patch
instead.

[1] python/cpython#141736
[2] python/cpython#144445
[3] agronholm/exceptiongroup#155
mweinelt pushed a commit to mweinelt/nixpkgs that referenced this pull request Apr 9, 2026
@thunze @mweinelt
python3Packages.exceptiongroup: update repr patch after 3.14 backport
b470ee3
[1] was finally backported to CPython 3.14 in [2], which landed in
CPython 3.14.4, causing the build of `python314Packages.exceptiongroup`
to fail.

In the meantime, exceptiongroup fixed `BaseExceptionGroup.__repr__` on
their end to match CPython behavior [3], so we can use that patch
instead.

[1] python/cpython#141736
[2] python/cpython#144445
[3] agronholm/exceptiongroup#155
mweinelt pushed a commit to mweinelt/nixpkgs that referenced this pull request Apr 9, 2026
@thunze @mweinelt
python3Packages.exceptiongroup: update repr patch after 3.14 backport
c9d0c5f
[1] was finally backported to CPython 3.14 in [2], which landed in
CPython 3.14.4, causing the build of `python314Packages.exceptiongroup`
to fail.

In the meantime, exceptiongroup fixed `BaseExceptionGroup.__repr__` on
their end to match CPython behavior [3], so we can use that patch
instead.

[1] python/cpython#141736
[2] python/cpython#144445
[3] agronholm/exceptiongroup#155
mweinelt pushed a commit to mweinelt/nixpkgs that referenced this pull request Apr 9, 2026
@thunze @mweinelt
python3Packages.exceptiongroup: update repr patch after 3.14 backport
f4df0e9
[1] was finally backported to CPython 3.14 in [2], which landed in
CPython 3.14.4, causing the build of `python314Packages.exceptiongroup`
to fail.

In the meantime, exceptiongroup fixed `BaseExceptionGroup.__repr__` on
their end to match CPython behavior [3], so we can use that patch
instead.

[1] python/cpython#141736
[2] python/cpython#144445
[3] agronholm/exceptiongroup#155
mweinelt pushed a commit to mweinelt/nixpkgs that referenced this pull request Apr 10, 2026
@thunze @mweinelt
python3Packages.exceptiongroup: update repr patch after 3.14 backport
05d3491
[1] was finally backported to CPython 3.14 in [2], which landed in
CPython 3.14.4, causing the build of `python314Packages.exceptiongroup`
to fail.

In the meantime, exceptiongroup fixed `BaseExceptionGroup.__repr__` on
their end to match CPython behavior [3], so we can use that patch
instead.

[1] python/cpython#141736
[2] python/cpython#144445
[3] agronholm/exceptiongroup#155
salva09 pushed a commit to salva09/nixpkgs that referenced this pull request May 7, 2026
@thunze @salva09
python3Packages.exceptiongroup: update repr patch after 3.14 backport
0a09334
[1] was finally backported to CPython 3.14 in [2], which landed in
CPython 3.14.4, causing the build of `python314Packages.exceptiongroup`
to fail.

In the meantime, exceptiongroup fixed `BaseExceptionGroup.__repr__` on
their end to match CPython behavior [3], so we can use that patch
instead.

[1] python/cpython#141736
[2] python/cpython#144445
[3] agronholm/exceptiongroup#155
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@iritkatriel iritkatriel Awaiting requested review from iritkatriel iritkatriel 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.

4 participants

@dr-carlos @ambv @pablogsal @StanFromIreland
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 01402520 — 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.