]> granicus.if.org Git - python/commit
#10092: Properly reset locale in Locale*Calendar classes. The context manager was...
authorGeorg Brandl <georg@python.org>
Tue, 19 Oct 2010 18:54:25 +0000 (18:54 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 19 Oct 2010 18:54:25 +0000 (18:54 +0000)
commit7004bd1a3de06330761d164bae0d82c597bf39cf
tree4c27a09a59a559026e5f1cf157df2573fbdb9304
parentf87cc0448158fedad9ba0a1edcec3664d9f90eb4
#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.
Doc/library/calendar.rst
Lib/calendar.py
Lib/test/test_calendar.py
Misc/NEWS