On Fri, Apr 15, 2016 at 3:59 PM, Vito De Tullio <vito.detul...@gmail.com> wrote: > Chris Angelico wrote: > >>> Just a note, some browsers will try to resolve this as www.localhost.com >>> - try http://127.0.0.1:8000 . >> >> Huh? Why should the name 'localhost' get a dot com added? > > ask browser vendors...
I'd more ask your local resolver. If the name 'localhost' can be correctly resolved (it's commonly in your hosts file, and if not, your local DNS resolver can easily be configured to be authoritative), no additional TLD should be added ('localhost' is itself a valid TLD). ChrisA -- https://mail.python.org/mailman/listinfo/python-list