[Web-SIG] Form field dictionaries

Gregory (Grisha) Trubetskoy grisha at modpython.org
Wed Oct 29 09:29:34 EST 2003



On Wed, 29 Oct 2003, Gregory (Grisha) Trubetskoy wrote:

>
>
> On Wed, 29 Oct 2003, Stuart Langridge wrote:
>
> > Would it be worth having form['fieldname'] default to doing a
> > getfirst()?
>
> +1 on this
>

Sorry I take it back - I misread it (not finished my coffee yet) -

I am in favor of form['fieldname'] to act the same as getfirst() only if
there is a single element, otherwise it should return a list.

Grisha




More information about the Web-SIG mailing list