Serhiy Storchaka added the comment: With the patch resolved address 127.0.0.1 is printed instead of localhost. self.address[0] can be used to match current behavior of 2.7 and 3.x.
And why not just initialize the url attribute in server_activate()? ---------- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka stage: -> patch review Added file: http://bugs.python.org/file37225/pydoc_port_2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18905> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com