[issue16260] change bare except in locale.py

2012-10-17 Thread Ramchandra Apte
Ramchandra Apte added the comment: I am going to file a new bug for fixing the bare excepts in the std lib. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue16260] change bare except in locale.py

2012-10-17 Thread Ramchandra Apte
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: nor