> Christian proposes that having a simpler scope rewrite of it might be nice, > but I think disruption to the world and loss of trust in Python would be > similar either way.
Please don't remove urllib. There are mountains of code that rely on it. A much better idea, IMO, would be to add a new modern API to http.client, where http functionality properly belongs. Maybe a function signature like this: http.client.get(url, user_agent = None, basic_auth=(None, None), custom_headers=None). That would one line to cover many use basic use cases, including user agent and basic auth. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/EV7R35OMQ7QWY7Y744FX7Y7VI7AO5CWX/ Code of Conduct: http://python.org/psf/codeofconduct/