[Web-SIG] Form field dictionaries

Barry Warsaw barry at python.org
Fri Oct 24 12:40:10 EDT 2003


BTW, I'll note interestingly enough that in some recent cgi-ish
applications I've written, I've always wanted __getitem__() to return a
list.  If there's one form variable by that name, I coerce the singleton
string to a list of one element.  For various reasons, it's been quite
handy to treat everything uniformly in this manner.

Maybe that's another option for the library.
-Barry





More information about the Web-SIG mailing list