trivial: remove a redundant call to lower() in urllib.parse.urlsplit by orenmn · Pull Request #3008 · python/cpython (original) (raw)
in Lib/urllib/parse.py in urlsplit, in case url[:i] == 'http', the lower() function of url[:i] is called, even though it is already known to be equal to 'http'.
(I ran the test module before and after applying this patch, and nothing seems to break.)