Re: FormEncode wishlist
Mike Orr <[email protected]> Thu, 9 Apr 2009 12:55:44 -0700
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Apr 9, 2009 at 12:46 PM, Ian Bicking <[email protected]> wrote: > On Thu, Apr 9, 2009 at 2:43 PM, Mike Orr <[email protected]> wrote: >> >> What kind of default state object would be useful? >> > Anything but None would be more useful. object() would be okay. Things > like Schema set attributes on the state object if they are able to. ``object`` can't take arbitrary attributes so it would have to be something else. We could just define an empty class with generally-useful things like '._'. However I do like ``None`` because then it's obvious there's no state. Otherwise you get into, "What kind of state object is this? Is it compatible with me?" -- Mike Orr <[email protected]> ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com