This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients lemburg, vstinner
Date 2022-02-06.21:13:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644182012.66.0.541880460148.issue46659@roundup.psfhosted.org>
In-reply-to
Content
> For these reasons, I propose to deprecate locale.getdefaultlocale(): setlocale(), getpreferredencoding() and getlocale() should be used instead.

Please see the discussion on https://bugs.python.org/issue43552: locale.getpreferredencoding() needs to be deprecated as well. Instead we should have a single locale.getencoding() as outlined there... perhaps in a separate ticket ?! Thanks.
History
Date User Action Args
2022-02-06 21:13:32lemburgsetrecipients: + lemburg, vstinner
2022-02-06 21:13:32lemburgsetmessageid: <1644182012.66.0.541880460148.issue46659@roundup.psfhosted.org>
2022-02-06 21:13:32lemburglinkissue46659 messages
2022-02-06 21:13:32lemburgcreate