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 vstinner
Recipients lemburg, vstinner
Date 2022-02-06.21:15:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644182122.15.0.130544537549.issue46659@roundup.psfhosted.org>
In-reply-to
Content
> 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.

Yeah, I read this issue. But these things are too complicated :-) I prefer to move step by step.

Once locale.getencoding() (or a similar function) is added, we can update the deprecation message.

I hope to be able to deprecate getdefaultlocale() and to add such new function in Python 3.11.
History
Date User Action Args
2022-02-06 21:15:22vstinnersetrecipients: + vstinner, lemburg
2022-02-06 21:15:22vstinnersetmessageid: <1644182122.15.0.130544537549.issue46659@roundup.psfhosted.org>
2022-02-06 21:15:22vstinnerlinkissue46659 messages
2022-02-06 21:15:22vstinnercreate