The reason I say this is because you can apply his points to any programming construct, so if you believe the concept of switch is good (regardless of how poorly other languages implement it) then it should be added.
Anyone who says otherwise is bias based on their emotions for some strange reason.
]]> new_uri = ‘%s://%s%s%s%s’ % (
request.is_secure() and ‘https’ or ‘http’,
site.domain,
(“:” + request.META["SERVER_PORT"]) if request.META["SERVER_PORT"]!=80 else “”,
urlquote(request.path),
(request.method == ‘GET’ and len(request.GET) > 0) and ‘?%s’ % request.GET.urlencode() or ”
)