[Patches] [ python-Patches-1007539 ] Fix for bug #992078

SourceForge.net noreply at sourceforge.net
Fri Aug 13 11:08:22 CEST 2004


Patches item #1007539, was opened at 2004-08-11 23:09
Message generated for change (Comment added) made by jlgijsbers
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1007539&group_id=5470

Category: Tests
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Mitchell Surface (msurface)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for bug #992078

Initial Comment:
It appears that test__locale was not reseting the locale after its tests. This patch (simplistically) saves and then restores the locale.

----------------------------------------------------------------------

Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2004-08-13 11:08

Message:
Logged In: YES 
user_id=469548

I was just working on the same bug yesterday. I produced a
mostly similar patch: I just wrapped the block from
'saw_locale' to 'raise ImportError' in a try: finally: block
and used LC_NUMERIC instead of LC_ALL. See
http://python.org/sf/1008588.

----------------------------------------------------------------------

Comment By: Mitchell Surface (msurface)
Date: 2004-08-12 00:26

Message:
Logged In: YES 
user_id=21257

The patch was tested against current CVS on Debian GNU/Linux
unstable.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1007539&group_id=5470


More information about the Patches mailing list