[Python-Dev] Re: Sets: elt in dict, lst.include
Wed, 24 Jan 2001 08:03:09 +0100
On Tue, Jan 23, 2001 at 11:20:56PM -0500, Guido van Rossum wrote:
> First to submit a working patch gets a free copy of 2.1a2 and
> subsequent releases,
Patch submitted. It only implements 'if key in dict', not 'for key in dict'.
The latter is kind of hard until we have a separate iteration protocol.
(PEP, anyone ?) Once we have it, we could consider 'for key, value in dict',
which is now easily explained with 'dict.popitem()'.
Does this mean I get a legally sound and thus empty legal statement with
every Python release for the rest of your, its or my life, Guido, or will
you just make me 'Free Python Release Receiver For Life' ? :-)
Thomas Wouters <email@example.com>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!