New submission from David Planella:
It seems getdefaultlocale does not return the correct encoding when the locale
is set to ca_ES@valencia:
>>> import locale
>>> locale.setlocale(locale.LC_ALL, "")
'LC_CTYPE=ca_ES.UTF-8@valencia;LC_NUMERIC=ca_ES.UTF-8;LC_TIME
David Planella added the comment:
It would be nice that %-formatting had the same functionality as in C when it
comes to discarding unnamed arguments, but from the comments I understand that
being deprecated no changes in functionality are contemplated.
However, before recommending using