X Tutup
The Wayback Machine - https://web.archive.org/web/20241204064948/https://github.com/python/cpython/issues/123084
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove shutil.ExecError #123084

Closed
barneygale opened this issue Aug 16, 2024 · 2 comments
Closed

Remove shutil.ExecError #123084

barneygale opened this issue Aug 16, 2024 · 2 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@barneygale
Copy link
Contributor

barneygale commented Aug 16, 2024

Feature or enhancement

As of Python 3.5 / GH-64943 / a0934b2, shutil.ExecError exceptions are not raised in any circumstances. I propose that we delete the ExecError class and remove it from __all__.

Linked PRs

@barneygale barneygale added type-feature A feature request or enhancement 3.14 new features, bugs and security fixes labels Aug 16, 2024
@ZeroIntensity
Copy link
Member

A quick GitHub search shows that some are still using it in one way or another, how about just turning this into a deprecated alias of RuntimeError, or something similar?

@picnixz picnixz removed the 3.14 new features, bugs and security fixes label Aug 17, 2024
@picnixz
Copy link
Contributor

picnixz commented Aug 17, 2024

Per our guidelines, we do not add version labels to features since they are implicitly targetting main: https://devguide.python.org/triage/labels/#type-labels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants
X Tutup