function Promise.new(h)return Promise._new(debug.traceback(nil,2),h)end function Promise.__tostring(h)return string.format("\080\114\111\109\105\115\101\040\037\115\041",h._status)end

function Promise.new(executor)
	return Promise._new(debug.traceback(nil, 2), executor)
end

function Promise:__tostring()
	return string.format("Promise(%s)", self._status)
end
