gh-90817: Deprecate explicitly locale.resetlocale() (GH-93196)


The function was already deprecated in Python 3.11 since it calls
locale.getdefaultlocale() which was deprecated in Python 3.11.
(cherry picked from commit bf58cd01b313837511d9399f18588ccd2e5dc5a9)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 files changed