This won't work, because if we get enomem here, we would still call stat_to_pyobj, so I think we need to do the SET_NONE manually.