[New-bugs-announce] [issue16260] change bare except in locale.py

Ramchandra Apte report at bugs.python.org
Wed Oct 17 10:02:43 CEST 2012


New submission from Ramchandra Apte:

In Lib/locale.py:1860 , a bare except is used. It should be replaced with "except Error" as the setlocale() function raises `Error` if an error occurs.

----------
components: Library (Lib)
messages: 173138
nosy: ramchandra.apte
priority: normal
severity: normal
status: open
title: change bare except in locale.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16260>
_______________________________________


More information about the New-bugs-announce mailing list