>> I'd suggest using parso to do it. It's a really great library to write such
>> transformations.
>
> Ah. It wasn't clear what your destination was, so I thought you were
> talking about doing the translation itself using parso. But yeah, grab
> one of these sorts of parsing libraries, do the transformation, save
> back, then use a standard translation library. Seems a lot easier than
> changing the language.
Ah, my bad.
I agree that this is the way forward for people who are trying to localize an
existing app, but I still think we should _also_ change the language. F-strings
are great and .format is powerful but there is a too big gap in usability and
readability between them. This gap is one of the most compelling motivations
for my suggestion of a short form for keyword arguments, while also helping us
poor guys who deal with huge legacy code bases :)
/ Anders
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/