Matt Goodall wrote: > I noticed simplejson (and others, I suspect) allow more types than just > a string to be given as a name, although they're always deserialised to > unicode instances:
I suspect the intent is to mirror JavaScript's propensity for coercion. For example, evaluating {1: 2}['1'] results in the integer 2. -- Benji York http://benjiyork.com _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com