Uncomment assertions. Oops.
Define a BridgeError exception in PyPy and use it if as_list is called on a non-int-keyed wrapped PHP array dict.