The reason expose requires keyword parameters is because it accepts multiple parameters of the same type: html, template, format, and content_type. Simple type introspection isn't sufficient in these cases.
I'm not going to touch the argument that type-checking is broken... On 27 Dec, 2005, at 6:27 pm, Wavy Davy wrote:
Not a fan for two reasons: "Explicit is better than implicit", and you'd lose consistancy between related functions (either expose and validate should both have kwargs, or neither should) Plus, IMHO using type introspection is a bit broken (though sometimes necessary in python at the moment).
-- Jeff Watkins http://newburyportion.com/ Computers, they're just a fad.

