tags 512506 patch The same bug is in 4.0. Here is a simple patch to catch the exception and terminates reportbug, returning a value of 1.
Regards, Carl Chenet
539c539,543 < output_encoding = locale.getpreferredencoding() --- > try: > output_encoding = locale.getpreferredencoding() > except locale.Error, msg: > print msg > sys.exit(1)