The cgi module is no substitute for a dictionary.

Rob Landley rob at landley.net
Wed Mar 31 00:40:20 CEST 2004


Ahem:

<gripe>

cgi.FieldStorage() doesn't give me a dictionary.  Instead it gives me 
something that pretends to be a dictionary, badly.

If it was a dictionary, I could print it and get a list the form entries sent 
back to me.  When writing code to parse preprepared forms (such as a credit 
card verification service returns), this is actually rather nice to be able 
to do.

</gripe>

Rob





More information about the Python-list mailing list