<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def readMixedArray(self):
 """ Read mixed array. @rtype: L{pyamf.MixedArray} """

        # TODO: something with the length/strict
        self.stream.read_ulong() # length

        obj = pyamf.MixedArray()
        self.context.addObject(obj)

        attrs = self.readObjectAttributes(obj)

        for key in attrs.keys():
            try:
                key = int(key)
            except ValueError:
                pass

            obj[key] = attrs[key]

        return obj