Skip to content

gh-149567: Remove deprecated shutil.ExecError#149568

Open
StanFromIreland wants to merge 3 commits intopython:mainfrom
StanFromIreland:ExecError
Open

gh-149567: Remove deprecated shutil.ExecError#149568
StanFromIreland wants to merge 3 commits intopython:mainfrom
StanFromIreland:ExecError

Conversation

@StanFromIreland
Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland commented May 8, 2026

self.x
from shutil import ExecError
print(ExecError)
from heapq import heapify_max
Copy link
Copy Markdown
Member Author

@StanFromIreland StanFromIreland May 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out it was used somewhere after all! Technically this doesn't matter, but to avoid any potential confusion I changed it to something else.

I confirmed it still fails when 1561385 is reverted.

@read-the-docs-community
Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32606332 | 📁 Comparing 0ff7113 against main (ebf6d9c)

  🔍 Preview build  

2 files changed
± whatsnew/3.16.html
± whatsnew/changelog.html

Copy link
Copy Markdown
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I believe #123125 was one of my earliest contributions, actually.

Just a heads-up: there are still some people using this. (See the search I referred to in the original deprecation issue.) I'm not super worried about it, considering we were emitting a warning, but it's definitely worth noting.

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