On Sat, Jun 28, 2008 at 9:12 AM, kevin <[EMAIL PROTECTED]> wrote:
>
> hey all,
>
> hope you're having a good saturday.
>
> an api requires me to reply with a hash of variables i've received via
> POST.  the hash needs to be generated based on the original ordering
> of the variables as i've received them.
>
> unfortunately the request.POST appears to be a dictionary-style object
> that doesn't preserve their ordering.
>
> how can i get that information?

There are ordered dicts around, such as this one which was  just
proposed in Python PEP 372 and which I'm considering putting into
WebHelpers.
http://dev.pocoo.org/hg/sandbox/raw-file/tip/odict.py

But how you'd get WebOb to use it is another question.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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