diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-07-23 00:05:07 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-07-23 00:05:07 (GMT) |
commit | 36f7e938f287adb4a5c00bb66c5479357dfa9c26 (patch) | |
tree | 4cd94903c7316ab88e896af5a7a68973e8a2484c /RISCOS/unixstuff.h | |
parent | d1deac06e78fd8fb79018f712dbd70047b5a7fa9 (diff) | |
download | cpython-36f7e938f287adb4a5c00bb66c5479357dfa9c26.zip cpython-36f7e938f287adb4a5c00bb66c5479357dfa9c26.tar.gz cpython-36f7e938f287adb4a5c00bb66c5479357dfa9c26.tar.bz2 |
Fred wasn't kidding -- there really are docs for the locale module <wink>.
Obtain the original locale in the documented way. This way actually
works for me.
Restore the original locale at the end, instead of forcing to "C".
Move the locale fiddling into the test driver instead of doing it as a
side effect of merely importing the module. I don't know why the test
is mucking with locale (and also added a comment saying so), but it
surely has no justification for doing that as an import side-effect.
Now whenever the locale-changing code executes, the locale-restoring code
will also get run.
Diffstat (limited to 'RISCOS/unixstuff.h')
0 files changed, 0 insertions, 0 deletions