saymedia/remoteobjects — pull request #14 by carljm (2011-12-03 06:39:24+00:00)
Title: Prevent List and Dict fields from trying to iterate over None value; return default instead

This is the same fix as pull #4 - just adds tests and avoids using mutable default function arguments.

This has the effect that a List/Dict field will never return None as its decoded value; None will always be transformed into []/{}. Seems fine to me? Easier for handling code to be able to assume that the value of a List/Dict field will always be a list/dict.