def get_all_regions(self, region_names=None, filters=None):
        params = {}
        if region_names:
            self.build_list_params(params, region_names, 'RegionName')
        if filters:
            self.build_filter_params(params, filters)
        regions =  self.get_list('DescribeRegions', params,
                                 [('item', RegionInfo)], verb='POST')
        for region in regions:
            region.connection_cls = EC2Connection
        return regions

    #
    # Reservation methods
    #
Rename the oldname key to newname,
dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/connection.py/EC2Connection.get_all_regions--crossover with--dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/txredisapi.py/RedisProtocol.renamenx