Change by Carmen Bianca Bakker :
--
keywords: +patch
pull_requests: +17313
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17901
___
Python tracker
<https://bugs.python.org/issu
Carmen Bianca Bakker added the comment:
I have created a prototype for the proposed fix here:
https://github.com/carmenbianca/argparse
I'm not a regular Python contributor, so I simply copied argparse.py out of Lib
and started working on my own copy.
The changes are, all things consi
New submission from Carmen Bianca Bakker :
Although argparse contains translatable strings, translations for those strings
do not ship with Python. This means that any program that uses argparse must
separately translate argparse, which is a lot of duplicated work.
Moreover, if argparse is
New submission from Carmen Bianca Bakker :
See the following script:
>>> import locale
>>> locale.setlocale(locale.LC_ALL, 'eo')
'eo'
>>> my_locale = locale.getlocale()
>>> my_locale
('eo_XX', 'ISO8859-3')
>>>
New submission from Carmen Bianca Bakker:
As brief as can be, the following script works in Python 3.4 and Python 3.5:
from collections import defaultdict
mydict = defaultdict(lambda: 'default')
print('{foo}'.format(**mydict))
And prints "default&qu