[issue504219] locale.resetlocale is broken

2022-04-10 Thread admin
Change by admin : -- github: None -> 35920 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue504219] locale.resetlocale is broken

2021-12-23 Thread Daniel Diniz
Change by Daniel Diniz : -- nosy: +ajaksu2 versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___

[issue504219] locale.resetlocale is broken

2017-05-09 Thread Nick Coghlan
Nick Coghlan added the comment: Trying to come up with a short LC_MONETARY example for PEP 538, I just ran into what seems to be a related problem with locale.resetlocale(), which is that it doesn't work properly for categories other than LC_CTYPE: locale.getdefaultlocale() doesn't let you

[issue504219] locale.resetlocale is broken

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: It doesn't seem to me that we've really deprecated getdefaultlocale() -- it's not documented as such, and MAL makes the good point that getdefaultlocale() is trying to avoid calling setlocale(). Perhaps this is just a documentation problem?

[issue504219] locale.resetlocale is broken

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue504219 ___ ___

[issue504219] locale.resetlocale is broken

2013-12-10 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue504219 ___

[issue504219] locale.resetlocale is broken

2013-03-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Adding support for locales that are not recognized is easy and the locale parser could also learn about formats that it doesn't yet understand, so patches are welcome. The main problem here is that setlocale() only understands a very limited set of

[issue504219] locale.resetlocale is broken

2013-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: Can we simply document that getpreferredencoding should be used instead as stated in msg8781 ? Should getdefaultlocale be earmarked for deprecation? -- ___ Python tracker rep...@bugs.python.org

[issue504219] locale.resetlocale is broken

2010-08-17 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Still a problems on py3k. Set stage to needs patch as it's so easy to reproduce. -- assignee: mhammond - nosy: +BreamoreBoy stage: unit test needed - needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

[issue504219] locale.resetlocale is broken

2009-02-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- dependencies: +locale.getdefaultlocale doesnt handle all locales gracefully stage: - test needed type: - behavior versions: +Python 2.6 -Python 2.4 ___ Python tracker rep...@bugs.python.org