pdoc icon indicating copy to clipboard operation
pdoc copied to clipboard

BUG: Handle URLs with non-ASCII chars w/ --http

Open syimyuzya opened this issue 4 years ago • 0 comments

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.

syimyuzya avatar Jul 11 '21 13:07 syimyuzya