commit | 7004bd1a3de06330761d164bae0d82c597bf39cf | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Tue Oct 19 18:54:25 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Tue Oct 19 18:54:25 2010 +0000 |
tree | 4c27a09a59a559026e5f1cf157df2573fbdb9304 | |
parent | f87cc0448158fedad9ba0a1edcec3664d9f90eb4 [diff] [blame] |
#10092: Properly reset locale in Locale*Calendar classes. The context manager was buggy because setlocale() returns the *new* locale, not the old. Also add a test for this.
diff --git a/Misc/NEWS b/Misc/NEWS index 4b92ef6..066c667 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -34,6 +34,8 @@ Library ------- +- Issue #10092: Properly reset locale in calendar.Locale*Calendar classes. + - logging: Added _logRecordClass, getLogRecordClass, setLogRecordClass to increase flexibility of LogRecord creation.