[Python-Dev] towards a faster Python

Barry Warsaw barry@python.org
10 Jun 2003 12:05:04 -0400


On Tue, 2003年06月10日 at 11:57, Bernhard Herzog wrote:
> There's even precedence in the standard library for modifying __builtins__:
>> (gettext.py, lines 219ff):
>> def install(self, unicode=False):
> import __builtin__
> __builtin__.__dict__['_'] = unicode and self.ugettext or self.gettext

Yes, but this sucks. :)
-Barry

AltStyle によって変換されたページ (->オリジナル) /