The symbol already exists and is used in other languages (other
than Python)
as well. It is a standard created by GNU gettext and is already
used in
TurboGears.
I don't particularly care that other languages do things in a bad
way. It doesn't mean that its okay to do it in TurboGears or in
Python. Perl uses all sorts of symbols, as does Ruby, and other
languages. Should we adopt all those symbols too?
Magically mapping "_" to anything for any purpose will cause
confusion. An explicit "from whatever import suchandsuch as _" would
solve my complaint.
The proposal is to use this same symbol everywhere instead of
mixing it with
the method 'lazy_gettext' and asking for the developer to know when
to use
each one. The idea is to have one and only one way to do the right
thing
here.
I understand the proposal. My complaint is with magically mapping
"_" to *anything*, not with mapping it to something different than
its already magically mapped to. I am not calling into question the
suggested change, but the entire concept that its based on.
--
Jonathan LaCour
http://cleverdevil.org