[New-bugs-announce] [issue44629] Some files from distutils module are importing all exceptions unnecessarily

Leonardo Freua report at bugs.python.org
Tue Jul 13 15:35:40 EDT 2021


New submission from Leonardo Freua <leonardo.batista.freua at gmail.com>:

Some files from the distutils module are importing all the exceptions from the errors.py file unnecessarily, when in fact only a few of the Exception classes are used.

Could I open a PR by fixing the files that are making these unnecessary imports? Or is this problem in the same category as f-String refactorings?

----------
components: Library (Lib)
messages: 397441
nosy: Leonardofreua
priority: normal
severity: normal
status: open
title: Some files from distutils module are importing all exceptions unnecessarily
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44629>
_______________________________________


More information about the New-bugs-announce mailing list