This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2013年06月12日 21:01 by brett.cannon, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| use_ModuleNotFoundError.diff | brett.cannon, 2013年06月13日 03:40 | review | ||
| Messages (8) | |||
|---|---|---|---|
| msg191047 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2013年06月12日 21:01 | |
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. |
|||
| msg191053 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2013年06月13日 01:30 | |
Changeset 84105:281857369a78 and 84106:c4d7228421df have some updates to use ModuleNotFoundError. |
|||
| msg191056 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2013年06月13日 03:40 | |
Here is a patch that uses ModuleNotFoundError in the stdlib sans test modules. |
|||
| msg191100 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年06月14日 00:57 | |
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 |
|||
| msg192308 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2013年07月04日 19:30 | |
As ModuleNotFoundError is going to be reverted so should the changesets for this issue. |
|||
| msg192319 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年07月04日 22:16 | |
New changeset 7769c4d72806 by Brett Cannon in branch 'default': Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) http://hg.python.org/cpython/rev/7769c4d72806 |
|||
| msg192326 - (view) | Author: Jesús Cea Avión (jcea) * (Python committer) | Date: 2013年07月05日 02:44 | |
> As ModuleNotFoundError is going to be reverted so should the changesets for this issue. Could you possibly clarify this?. Pointers? |
|||
| msg192332 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2013年07月05日 13:20 | |
Discussion occurred on http://bugs.python.org/issue15767 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:46 | admin | set | github: 62400 |
| 2013年07月05日 13:20:15 | brett.cannon | set | messages: + msg192332 |
| 2013年07月05日 02:44:25 | jcea | set | messages: + msg192326 |
| 2013年07月04日 22:16:59 | brett.cannon | set | status: open -> closed resolution: rejected |
| 2013年07月04日 22:16:30 | python-dev | set | messages: + msg192319 |
| 2013年07月04日 19:36:36 | brett.cannon | link | issue15767 dependencies |
| 2013年07月04日 19:36:23 | brett.cannon | set | dependencies: - add ModuleNotFoundError |
| 2013年07月04日 19:30:15 | brett.cannon | set | status: closed -> open resolution: fixed -> (no value) messages: + msg192308 |
| 2013年06月14日 00:58:49 | brett.cannon | set | assignee: brett.cannon |
| 2013年06月14日 00:57:51 | brett.cannon | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2013年06月14日 00:57:39 | python-dev | set | nosy:
+ python-dev messages: + msg191100 |
| 2013年06月13日 03:40:57 | brett.cannon | set | stage: needs patch -> patch review |
| 2013年06月13日 03:40:47 | brett.cannon | set | files:
+ use_ModuleNotFoundError.diff keywords: + patch messages: + msg191056 |
| 2013年06月13日 01:30:19 | brett.cannon | set | messages: + msg191053 |
| 2013年06月13日 00:46:19 | jcea | set | nosy:
+ jcea |
| 2013年06月12日 21:01:54 | brett.cannon | set | dependencies: + add ModuleNotFoundError |
| 2013年06月12日 21:01:48 | brett.cannon | create | |