Python additions for CDN locale