[Python-Dev] Patch to make cgi.FieldStorage iterate over its keys

Guido van Rossum guido@python.org
Wed, 11 Sep 2002 14:23:56 -0400


> Below is a patch to make cgi.FieldStorage iterate over its keys, allowing 
> it to behave like any other dictionary in this kind of construct:
> 
>      form = cgi.FieldStorage()
>      for key in form:
>          do something ...

Thanks.  I've applied this.

Points subtracted though for (1) sending a patch to python-dev instead
of using SourceForge and (2) sending a plain diff instead of a context
diff.  For that, your name won't be added the the list of
contributors. :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)