Skip to content

Remove shutil.ExecError #123084

Closed
Closed

Description

@barneygale

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

Activity

  1. ZeroIntensity commented on Aug 17, 2024

    @ZeroIntensity
    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?

  2. picnixz commented on Aug 17, 2024

    @picnixz
    Member

    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

  3. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Aug 17, 2024
  4. added a commit that references this issue on Aug 21, 2024
  5. added a commit that references this issue on Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions