This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Fix for bug #992078
Type: Stage:
Components: Tests Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: jlgijsbers, msurface
Priority: normal Keywords: patch

Created on 2004-08-11 21:09 by msurface, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test__locale.diff msurface, 2004-08-11 21:12
Messages (4)
msg46681 - (view) Author: Mitchell Surface (msurface) Date: 2004-08-11 21:09
It appears that test__locale was not reseting the locale after its tests. This patch (simplistically) saves and then restores the locale.
msg46682 - (view) Author: Mitchell Surface (msurface) Date: 2004-08-11 22:26
Logged In: YES 
user_id=21257

The patch was tested against current CVS on Debian GNU/Linux
unstable.
msg46683 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2004-08-13 09:08
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.
msg46684 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2004-08-14 10:59
Logged In: YES 
user_id=469548

Checked in with my modifications as rev 1.5.
History
Date User Action Args
2022-04-11 14:56:06adminsetgithub: 40746
2004-08-11 21:09:00msurfacecreate