mastahyeti added the comment: TYPO!!!
After my patch, urlparse can be used as such: import urlparse url = urlparse.urlparse('http://www.example.com/foo/bar?hehe=haha') url.netloc = 'www.python.com' urlparse.urlunparse(url) The difference being that the result doesn't need to be casted to a list in order to be mutated... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15824> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com