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 ...
Hamish Lawson
---
Compare: (<)E:\Python22\Lib\cgi.py (34894 bytes)
with: (>)E:\temp\cgi.py (34955 bytes)
524a524,526
> def __iter__(self):
> return iter(self.keys())
>