Brett Cannon added the comment:
Discussion occurred on http://bugs.python.org/issue15767
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
Brett Cannon added the comment:
As ModuleNotFoundError is going to be reverted so should the changesets for
this issue.
--
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
Changes by Brett Cannon br...@python.org:
--
dependencies: -add ModuleNotFoundError
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
___
Roundup Robot added the comment:
New changeset 7769c4d72806 by Brett Cannon in branch 'default':
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
http://hg.python.org/cpython/rev/7769c4d72806
--
___
Python tracker
Changes by Brett Cannon br...@python.org:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
Jesús Cea Avión added the comment:
As ModuleNotFoundError is going to be reverted so should the changesets for
this issue.
Could you possibly clarify this?. Pointers?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
Roundup Robot added the comment:
New changeset 8d28d44f3a9a by Brett Cannon in branch 'default':
Issue #18200: Update the stdlib (except tests) to use
http://hg.python.org/cpython/rev/8d28d44f3a9a
--
nosy: +python-dev
___
Python tracker
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
___
New submission from Brett Cannon:
The common idiom::
try:
import something
except ImportError:
pass
should be updated to use ModuleNotFoundError instead to not accidentally
swallow ImportError exceptions which signal actual errors.
--
components: Library (Lib)
keywords: easy
Changes by Brett Cannon br...@python.org:
--
dependencies: +add ModuleNotFoundError
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
___
Python-bugs-list mailing list
Brett Cannon added the comment:
Changeset 84105:281857369a78 and 84106:c4d7228421df have some updates to use
ModuleNotFoundError.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
Changes by Brett Cannon br...@python.org:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18200
___
___
Brett Cannon added the comment:
Here is a patch that uses ModuleNotFoundError in the stdlib sans test modules.
--
keywords: +patch
Added file: http://bugs.python.org/file30568/use_ModuleNotFoundError.diff
___
Python tracker rep...@bugs.python.org
15 matches
Mail list logo