commit | c69066501bc2da4aa325833c76e6cf12b87aafa6 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sun Apr 01 18:47:27 2007 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sun Apr 01 18:47:27 2007 +0000 |
tree | bb31b9ac1298aa9671f58e64336fc2f8fdbb8f9b | |
parent | 8f35f44af3aacf1802253dc33e26e64306e55756 [diff] |
time.strptime's caching of its locale object was being recreated when the locale changed but not used during the function call it was recreated during. The test in this checkin is untested (OS X does not have the proper locale support for me to test), although the fix for the bug this deals with was tested by the OP (#1290505). Once the buildbots verify the test at least doesn't fail it becomes a backport candidate.