Issue 17165: Use "except ImportError" instead of bare except in _strptime.py (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/61367

classification

Title: Use "except ImportError" instead of bare except in _strptime.py
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.4

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: berker.peksag, pitrou, python-dev
Priority: normal Keywords: patch

Created on 2013-02-09 07:54 by berker.peksag, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
_strptime_importerror.diff berker.peksag,2013-02-09 07:54 review
Messages (3)
msg181720 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2013-02-09 07:54
See for the source: http://hg.python.org/cpython/file/default/Lib/_strptime.py#l24 and for the reference: http://docs.python.org/dev/library/_dummy_thread.html#module-_dummy_thread
msg181832 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-02-10 18:32
New changeset 1557d25b0f6e by Antoine Pitrou in branch 'default': Issue #17165: fix a bare import in _strptime.py. http://hg.python.org/cpython/rev/1557d25b0f6e
msg181833 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-02-10 18:32
Fixed, thank you!
History
Date User Action Args
2022-04-11 14:57:41 admin set github: 61367
2013-02-10 18:32:58 pitrou set status: open -> closednosy: + pitroumessages: + resolution: fixedstage: resolved
2013-02-10 18:32:32 python-dev set nosy: + python-devmessages: +
2013-02-09 07:54:38 berker.peksag create