[Python-ideas] Gettext syntax (was Re: Allow "assigning" to ...)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Feb 12 21:57:26 CET 2015


M.-A. Lemburg wrote:
> _(...) is a kludge which was invented because languages don't address
> the need at the language level.

And monkeypatching _ into the builtins was a further
kludge invented because... well, I don't really know
why. Because people were too lazy to import it
themselves?

I think that was a really bad idea. If it hadn't been
done, we would be free to provide a different way
that doesn't implicitly clobber the interactive _
without it affecting existing code.

-- 
Greg


More information about the Python-ideas mailing list