pdoc
pdoc copied to clipboard
BUG: Handle URLs with non-ASCII chars w/ --http
Python 3 allows Unicode identifiers, so non-ASCII characters should be handled with care.
This commit fixes a bug that only happens when serving with --http
(works fine when generating static HTML files). Before this fix, pydoc
would raise errors if the URL contains non-ASCII module names.