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 2013-02-10 18:32 by pitrou. 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
2013-02-10 18:32:58pitrousetstatus: open -> closed

nosy: + pitrou
messages: + msg181833

resolution: fixed
stage: resolved
2013-02-10 18:32:32python-devsetnosy: + python-dev
messages: + msg181832
2013-02-09 07:54:38berker.peksagcreate