> Are there API changes that would help people consider WebOb for other
frameworks?

Personally, I don't like the default behavior of how
request.params.get/post handles the multidict -- in that it returns
ONE by default.  that drove me crazy trying to figure out how posted
arrays were supported, and I nearly dropped using pylons because the
getall behavior was completely hidden in the documentation at that
point.

i'd honestly like to see get() listed for deprecation, and just have
getone and getall.

if python had something similar to perl's wantarray, it would be
awesome -- as that's how the libapreq library handles stuff for
mod_perl.  but we don't, and I find the get() behaviour confusing and
a huge turnoff, since in practice (i haven't looked at the source) it
seems to just be an alias of getone ... and getone() implies there's a
getall() , whereas get() does not imply that only handle single values
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to