Memory leak when spawning

Michael Hudson mwh21 at cam.ac.uk
Mon Feb 19 01:20:49 CET 2001


Gareth.McCaughan at pobox.com (Gareth McCaughan) writes:

> Michael Hudson wrote:
> 
> > Gareth.McCaughan at pobox.com (Gareth McCaughan) writes:
> > 
> > > Tim Peters wrote:
> > > 
> > > >                                             There is no "don't care"
> > > > assignment target in Python.
> > > > 
> > > > > Any suggestions on that ?
> > > > 
> > > > Use the name undef, if you like:
> > > 
> > > I like "_".
> > 
> > So do I, but the i18n folks tend to shout at you.
> 
> Oh. Why? (I'm shamefully ignorant of i18n issues...)

'cause they do things like this:

import gettext ; _ = gettext.gettext

...

print _("This is a foo message!")

to get translated strings.

I personally think prolog got there first, but I can see their point.

Cheers,
M.

-- 
  I'm sorry, was my bias showing again? :-) 
                                      -- William Tanksley, 13 May 2000



More information about the Python-list mailing list